Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern not matching in scaden simulate #87

Closed
khkk378 opened this issue May 20, 2021 · 4 comments
Closed

Pattern not matching in scaden simulate #87

khkk378 opened this issue May 20, 2021 · 4 comments

Comments

@khkk378
Copy link

khkk378 commented May 20, 2021

If I run scaden simulate --data somedir but also have files matching the pattern in the working dir I get the error No datasets found! Have you specified the pattern correctly?. In my case it was because I had the output from scaden example in the working dir.

@KevinMenden
Copy link
Owner

Hi @khkk378 , thanks for reporting!

I'll have a look at it when I get around to it. In the meantime, could you specify a bit more what you have done?

@khkk378
Copy link
Author

khkk378 commented May 20, 2021

I have the files somedir/foo_counts.txt and somedir/foo_celltypes.txt that I want to simulate from. I also have the files example_counts.txt and example_celltypes.txt. If I run scaden simulate --data somedir --pattern *_counts.txt I get the error. If I remove example_*.txt it works. I would assume that the pattern should be applied to the files in the --data dir.

@KevinMenden
Copy link
Owner

Huh, interesting ... that's really odd indeed 🤔 will look into this and let you know!

You're right that the pattern should be applied the data in --data

@KevinMenden
Copy link
Owner

KevinMenden commented May 20, 2021

Could you enclose the pattern in quotation marks, like '*_counts.txt' and try again, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants