Skip to content

Commit

Permalink
updated build process
Browse files Browse the repository at this point in the history
  • Loading branch information
sgosline committed Jul 10, 2024
1 parent ff6fc6c commit e724611
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/database-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,18 @@ jobs:
build-expr:
#if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-20.04
needs: build-samples
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Download artifacts from previous drug gen
- name: Download artifacts from sample generation
uses: actions/download-artifact@v3
with:
name: samp-files
- name: Pull sample image
run: docker pull sgosline/srp-zfexp
- name: move chemical list to tmp
run: mv samp-files/chemicals.csv .
- name: Run zfexp python command
run: |
docker run -v $PWD:/tmp sgosline/srp-zfexp
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- '**'
paths:
- build_script.py
- .github/
- zfBmd/
- zfExp/
Expand Down
4 changes: 2 additions & 2 deletions build_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ def main():
runExposome(cid)
runSchemaCheck()
if args.geneEx:
if not os.path.exists("chemicals.csv"):
if not os.path.exists("/tmp/chemicals.csv"):
runSampMap(False,[],smap,cid,emap,cclass,ctfile,fses,desfile)

runExpression(gex1,'chemicals.csv',ginfo)
runExpression(gex1,'/tmp/chemicals.csv',ginfo)
runSchemaCheck()


Expand Down

0 comments on commit e724611

Please sign in to comment.