Skip to content

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