Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyfeeds-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
pyfeeds-tests
Merge requests
!51
Mnt/fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Mnt/fixes
mnt/fixes
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Paul McCarthy
requested to merge
mnt/fixes
into
master
2 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
Fixes various issues which arose when running on a clean macOS M1 insttallation
0
0
Merge request reports
Viewing commit
5a172e5b
Prev
Next
Show latest version
1 file
+
4
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5a172e5b
RF: Usage incompatible wtih macOS version of sed
· 5a172e5b
Paul McCarthy
authored
2 years ago
fsl_course/feat3/feedsRun5.py
+
4
−
3
Options
@@ -26,9 +26,10 @@ utils.run(cmd)
# For conda version, default_flobs.flobs is in new location
cmd
=
f
'''
sed -i
'
s,etc,data/feat5,g
'
{
newFSF
}
'''
utils
.
run
(
cmd
)
with
open
(
newFSF
,
'
rt
'
)
as
f
:
contents
=
f
.
read
()
with
open
(
newFSF
,
'
wt
'
)
as
f
:
f
.
write
(
contents
.
replace
(
'
/etc/
'
,
'
/data/feat5/
'
))
# run FEAT
utils
.
run
(
"
unset SGE_ROOT; feat {0}
"
.
format
(
op
.
join
(
outDir
,
"
design.fsf
"
)))
Loading