Skip to content
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

Ability to track parts of a treatment #17

Open
gsautter opened this issue Jul 26, 2019 · 1 comment
Open

Ability to track parts of a treatment #17

gsautter opened this issue Jul 26, 2019 · 1 comment

Comments

@gsautter
Copy link

Ability to track parts of a treatment

(6) This was simply old(er) markup from when we didn't ad the authorities yet (April 2016). I now ran the respective gizmo on the parent article, so the authority information is there. If you detect similar treatments, please let me know, so I can run that gizmo on them as well ... merely a single-line command to the server side batch.

This is precisely the reason I need to be able to track parts of a treatment. If someone detects and reports an error in a treatment, and then you rerun your extraction process on that treatment to correct the error, I need to be able to change only that treatment and its related parts. I can only do that if I can uniquely identify them. Timestamp is not the way to do that. The only sure way and one that makes a programmer's life easy is by being able to identify them uniquely with a primary key (in this case, the PK is the combo of the treatment ID and the ID of that specific part of the treatment).

Also, please note that under ideal circumstances, I really won't detect any such errors because the extraction process will run automatically without any intervention from me. In this case, I found it purely by chance because I wanted to examine my extraction logic on a single XML and I randomly happened to pick one that had this error. Under ideal circumstances, my extraction process will just silently move on.

Originally posted by @punkish in #14 (comment)

@gsautter
Copy link
Author

This is why subSubSections also have an id attribute now. Again, see http://treatment.plazi.org/GgServer/zenodeo/038787DAFFF7FF904BBFF925FD13F9AA , as well as #16

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

No branches or pull requests

1 participant