Skip to content

Commit

Permalink
Merge pull request #6 from moka-guys/develop
Browse files Browse the repository at this point in the history
Develop (#6)

Co-Authored-By: Natasha Pinto <[email protected]>
Co-Authored-By: Graeme <[email protected]>
Co-Authored-By: Bioin4matics <[email protected]>
  • Loading branch information
3 people authored Apr 6, 2023
2 parents 75531a1 + 7fb2fda commit 0938131
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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.0.0",
"name": "duty_csv_v1.1.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.0.0"
"github release": "v1.1.0"
},
"dxapi": "1.0.0",
"inputSpec": [
Expand Down
8 changes: 4 additions & 4 deletions src/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ function main() {
dx-download-all-inputs --parallel

# Get secrets
AMAZON_U=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:file-GFBj2B80Z0gQkgxp31v1Qjpk)
AMAZON_PW=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:file-GFBj2vj0Z0gg64F222p5PQzk)
AUTH_TOKEN=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:file-GB8PPx00Z0gxq9xbFkZz2q69)
AMAZON_U=$(dx cat project-FQqXfYQ0Z0gqx7XG9Z2b4K43:amazon_email_server_username)
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
if (dx find projects --auth $AUTH_TOKEN | grep $project_name);
Expand All @@ -27,7 +27,7 @@ function main() {

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

DOCKER_FILEID='project-ByfFPz00jy1fk6PjpZ95F27J:file-GQB89GQ0jy1bb0Jbp7bgx2jv'
DOCKER_FILEID='project-ByfFPz00jy1fk6PjpZ95F27J:file-GQg8XZQ0kPYQvVy5PPY1jKP5'
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 0938131

Please sign in to comment.