-
Notifications
You must be signed in to change notification settings - Fork 26
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
Whitespace is important for position numbering in tray_maps vs. load_holders #2185
Comments
tray_maps and load_holders should be the same file format but they are not mainly because of backwards compatibility issues. tray_maps are for the laser and load_holders are for the database. tray_maps should be
the same format would work for the corresponding load_holder but not vice versa. Tray_maps can be load holders but load_holders cannot be tray_maps (currently) For tray maps the first 3 rows are reserved for metadata. |
tray_maps also support explicit hole labeling
|
I tried that as well, and got a different error message that there are too many values to unpack; I think the boolean on the first line causes an issue. I'll try to reproduce to provide a stack trace... |
|
Description
When setting up things to use the Loading plugin, I had to create a file in data/.dvc/MetaData/load_holders/ for our sample disk. I discovered that I needed to not have any whitespace after the "circle,3.0" line, otherwise position numbering rendered in the disk map in the Loading GUI would start at 2 or 3 rather than 1. However many blank lines were present equaled the observed offset in hole numbering. Interestingly, when I updated my setupfiles/tray_maps/ file to match my load_holder file, I discovered that requesting position 1 actually got me to position 3, requesting position 2 got me to hole 4, etc. Importantly, the positions were not just offset due to a calibration issue; requesting hole 2 actually navigated me down a row and left to hole 4, not just right along the same row as hole 1. In this case (for the tray_map), missing two lines of whitespace after "circle,3.0" was the issue; adding the lines back in fixed the navigation to the requested hole. So somehow the number of blank lines causes an offset in position numbering that is inconsistent when loaded from tray_maps or load_holders.
Note, using the most recent commit from dev/dc: 078f30b
To Reproduce
Steps to reproduce the behavior will depend on your instrument/extraction device. You may need to restart Pychron after editing files as described below.
Expected behavior
Blank lines after the shape definition should not cause an offset in position numbering
Screenshots
See attached screenshot, where I added four lines of blank space in my load_holder file then opened the Loading window. I'd attach a video of requesting hole 1 and watching the laser navigate to hole 3 if I could, but that's not really necessary.
The text was updated successfully, but these errors were encountered: