Skip to content

Commit

Permalink
Merge pull request #13 from moka-guys/feature/v1.5.0
Browse files Browse the repository at this point in the history
Update app to use duty_csv v2.5.0 (#13)
  • Loading branch information
rebeccahaines1 authored Jul 10, 2024
2 parents b2a82a5 + 8f29751 commit df99dc8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DNAnexus Duty CSV

This is the DNAnexus implementation of [duty_csv v2.4.0](https://github.com/moka-guys/duty_csv/releases/tag/v2.4.0). It is intended to run at the end of all DNAnexus workflows. For further details on what the underlying script does and produces, please refer to that repository.
This is the DNAnexus implementation of [duty_csv v2.5.0](https://github.com/moka-guys/duty_csv/releases/tag/v2.5.0). It is intended to run at the end of all DNAnexus workflows. For further details on what the underlying script does and produces, please refer to that repository.

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions dxapp.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "duty_csv_v1.4.0",
"name": "duty_csv_v1.5.0",
"summary": "Uses a python script to search for files required for Dry Lab transfer, creates a CSV file with URL links for the files and sends an email to MokaGuys",
"properties": {
"github release": "v1.4.0"
"github release": "v1.5.0"
},
"dxapi": "1.0.0",
"inputSpec": [
Expand Down
4 changes: 2 additions & 2 deletions src/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function main() {
AMAZON_PW=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:amazon_email_server_password)
AUTH_TOKEN=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:mokaguys_nexus_auth_key)

# Get project ID form project name
# Get project ID from project name
if (dx find projects --auth "${AUTH_TOKEN}" | grep "${project_name}");
then
echo "Project $project_name exists"
Expand All @@ -28,7 +28,7 @@ function main() {

mkdir -p $CSV_OUTDIR $HTML_OUTDIR $LOGFILE_OUTDIR $TXT_OUTDIR # Create in and out dirs

DOCKER_FILEID='project-ByfFPz00jy1fk6PjpZ95F27J:file-GkkzFq00jy1j4G1pPJQFyjkx'
DOCKER_FILEID='project-ByfFPz00jy1fk6PjpZ95F27J:file-Gp74Jp00jy1v1ZjP0pyBB05f'
dx download $DOCKER_FILEID
DOCKER_FILENAME=$(dx describe $DOCKER_FILEID --name)
# --force-local required as if tarfile name contains a colon it tries to resolve the tarfile to a machine name
Expand Down

0 comments on commit df99dc8

Please sign in to comment.