julianh2o / Podbase

Image database aimed at scientific applications
MIT License
2 stars 0 forks source link

Can't erase newsly-entered attributes #82

Closed danhartline closed 11 years ago

danhartline commented 11 years ago

Updated information:

Note title change.

Apparently anything newly entered into a metadata field can be erased EXCEPT for the last-remaining character. This is true whether the data are entered by typing or copying/pasting. Erasing can be accomplished by back-spacing character at a time, or selecting all but one character and hitting . If you select ALL characters and hit , the original text reappears after you click on another field. If instead of deleting, the old text is pasted over, it works fine. You can even paste a over the last remaining character to generate a nominally blank field.

Original pos ("Can't erase copied attributes"): I tested the copy/paste on a different folder (InvertebrateMyelin/tem/Caridean/S.marmo/C1a/Grid08-05_B9. It pasted a relatively empty set of fields quickly -- 2 sec - (but there are lots if empty fields in the "TEM-template" template used for viewing). However, two tags fields that had entries that it copied and pasted I could not then erase (I chose an image, CW080308_C1a_Slide116a_Grid08-05_B9_TEM09s.jpg , that had no tags as a destination, but need to undo that paste as it was just a test). Again, the "X" boxes on the right don't do anything when clicked..

I then tried similar things on the new ShrimpMyelin images. It still took 17 sec to copy metadata from one image to another in that folder. Strange. The failure to be abe to erase copied metadata turns out to extend to anything typed into themetadata fields -- it cannot be erased by selecting the text and hitting "delete." The only way I found to erase it is to back-space one character at a time over it, and even then, it will not erase the very first character entered.

julianh2o commented 11 years ago

I've released a change.. I'm not sure if this will help with the close boxes.. but can you let me know what the performance is like?

julianh2o commented 11 years ago

I'm able to delete pasted attributes, can you show me an example that is failing for you?

danhartline commented 11 years ago

This image: https://podbase2.pbrc.hawaii.edu/entry/5#/ShrimpMyelin/TEM/Saron/SM1/DH13-01_A2/FM111130-1_SM_DH13-01_A2_006_2k.jpg

had its metadata copied from the one previous (005_2k). Just selecting & hitting then clicking ob another field restored the original line. Back spacing ( key) over characters one at a time succeeded in deleting all characters until the attempt reached the first. That one could not be deleted. It is what remains in the metadata of the image above as I left it.

D

I'm able to delete pasted attributes, can you show me an example that is failing for you?


Reply to this email directly or view it on GitHub: https://github.com/julianh2o/Podbase/issues/82#issuecomment-21465201

Daniel K. Hartline Research Professor and Director Bekesy Laboratory of Neurobiology University of Hawaii at Manoa Honolulu, HI 96822 www.pbrc.hawaii.edu/~danh

julianh2o commented 11 years ago

Ah. That's what you meant by deleting! Thanks for the clarification, I've fixed this.