Bug #1092
openprotomoprep not updating symlinks
0%
Description
We had a weird bug here at FSU where protomoprep was not updating symlinks when preparing files for protomo. It seems to be a problem with python, not this program. The easiest work around was to force the user to erase old folders before running protomo again. This should be revisited at a later date
Updated by Scott Stagg almost 14 years ago
- Status changed from Assigned to In Code Review
Updated by Scott Stagg almost 14 years ago
- Assignee changed from Scott Stagg to Anchi Cheng
Updated by Anchi Cheng almost 14 years ago
- Status changed from In Code Review to In Test
- Assignee changed from Anchi Cheng to Scott Stagg
code reviewed. I also added codes in appionlib/apProtomo.py setProtomoDir function to remove existing subdirectories on the first (0) cycle of protomo alignment in case that we have the same problem here in r15222.
Scott, please review my code. it doesn't look like I can test protomoprep.py here since 09feb18c_006.prexg is hard-coded in it. Please test that yourself.
By the way, can your problem be that the old link is not removed first? I see that protomoprep.py does not remove old links before linking. I know that I can not modify links in shell script, either.
Updated by Anchi Cheng almost 14 years ago
see apProtomo.py function linkImageFiles for what I did there.