Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Avoiding errors for missing files#95

Open
scapella wants to merge 1 commit into
galaxyproject:masterfrom
scapella:patch-1
Open

Avoiding errors for missing files#95
scapella wants to merge 1 commit into
galaxyproject:masterfrom
scapella:patch-1

Conversation

@scapella

Copy link
Copy Markdown

I just proposed to create an empty file in case the "acc2exclude.txt" file is missing.

I just proposed to create an empty file in case the "acc2exclude.txt" file is missing.
cat ena.txt genbank.txt sra.txt | sort | uniq > union.txt
rm ena.txt

if [ ! -f acc2exclude.txt ]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you can just do touch without the if as touch only updates the access times.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Didn't think about it. Shall I do a new PR?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you can do it here directly ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants