Skip to content

Commit

Permalink
fix(conda.mk): rm sed
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Oct 20, 2021
1 parent 232987e commit 322de27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 8 additions & 5 deletions ci/makefiles/conda.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,21 @@ build-recipe:
cat $(recipe)/_meta3.yaml >> $(recipe)/$(meta)
echo " - `$(MAKE_CMD) -f test.mk test-cmd`" >> $(recipe)/$(meta)
cat $(recipe)/_meta4.yaml >> $(recipe)/$(meta)
echo > $(recipe)/conda_channels.txt
echo > $(recipe)/_conda_channels.txt
for pack in $(PACKAGES); do \
echo $$pack \
| sed "s/^\(.*\)::\(.*\)$$/\2 \1/" \
| awk '{print $$2}' \
>> $(recipe)/conda_channels.txt; \
>> $(recipe)/_conda_channels.txt; \
done
awk '/channels/,/dependencies/{if(/dependencies|channels/) next; print}' ../../environment.yaml \
| awk '{print $$2}' \
>> $(recipe)/conda_channels.txt
sed -i '' 's/^ *//; s/ *$$//; /^$$/d' $(recipe)/conda_channels.txt
sed -i '' -e '/^$$/d' $(recipe)/conda_channels.txt
>> $(recipe)/_conda_channels.txt
cat $(recipe)/_conda_channels.txt \
| tr -d " \t\r" \
| awk '!/^$$/' \
> $(recipe)/conda_channels.txt
rm $(recipe)/_conda_channels.txt

# HELP
# This will output the help for each task
Expand Down
1 change: 0 additions & 1 deletion selenzy_wrapper/selenzy_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
'data'
)


def selenzy_pathway(
pathway: rpPathway = None,
taxonIDs: str = DEFAULT_HOST,
Expand Down

0 comments on commit 322de27

Please sign in to comment.