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

Add script to fix names #59

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

dominikl
Copy link
Member

Adds script to fix names (for example dataset names). I originally had that in the idr0151 repository, because I'll need it there. Submitter wants dataset names like 01: wild-type - Dichaete antibody stain (1) but in the annotations he actually put 01_wild-type_Dichaete antibody stain (1) as dataset name. This might be useful for other submissions as well. I'm sure I've done similar things over and over again in the past.

@dominikl dominikl requested review from will-moore and removed request for will-moore November 28, 2023 16:09
@dominikl dominikl marked this pull request as draft November 29, 2023 08:06
@will-moore
Copy link
Member

I had a look at the code and I think I have an idea what it's doing, but if you could add some test instructions / files to create etc that would be handy, thx

@dominikl
Copy link
Member Author

Added an example for fixing organism names. To run: python fix_names.py ../test/fix_names_test_correct.txt ../test/fix_names_test.txt "^.+,.+,(?P<name>.+),"

@dominikl dominikl marked this pull request as ready for review November 30, 2023 15:37
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

Successfully merging this pull request may close these issues.

2 participants