RosettaCommons / tools

Tools for parsing Rosetta source code and scripts for running specific Rosetta applications.
Other
3 stars 1 forks source link

Fix beautify_changed_files_in_branch.py with respect to moved files. #100

Closed roccomoretti closed 3 years ago

roccomoretti commented 3 years ago

Update parsing of git output to better accomodate for the multiple-names-in-line format for moved files.

roccomoretti commented 3 years ago

Given that the current version is giving a hard error, the easy way would be to run it on a branch which has moved a cc/hh file to a different name.

vmullig commented 3 years ago

Thanks for doing this, Rocco. I think this is a problem that I've stumbled across a few times, but I just used the workaround of beautifying all of Rosetta instead of just the changed files when the beautify_changed_files_in_branch.py script failed. Having it work with renamed or moved files would be much preferred, though.