EdinburghGenomics / pyclarity-lims

Python interface to the GenoLogics LIMS server via its REST API.
MIT License
11 stars 4 forks source link

Documentation - make it clear you can't set UDF on a process, only the associated step #39

Closed tbooth closed 5 years ago

tbooth commented 6 years ago

I was actually aware of the below issue but it should probably go in the documenatation for pyclarity_lims.entities.Process - if you want to modify (rather than just view) the UDFs you have to load the step.details as Dan says.

Hi Tim,

Not sure if you were made aware of this or whether you will ever need to know. Matt had an issue with one of his scripts and turned out that it was because he was updating a process UDF using the “process API end point” and not the “step API end point”. It was also related to the user role assigned to the person logged in (I know it sounds strange). So if writing scripts to update step UDFs that may ever be initiated by a user use the step API end point which in pyclarity- LIMs speak is something like [PROCESS].step.details.put().

Dan

Daniel Forth, PhD LIMS Manager