Documentation of setting <property>s in <source> in project.xml to get those into a Converter/PostProcessor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Documentation of setting <property>s in <source> in project.xml to get those into a Converter/PostProcessor

Justin Clark-Casey-2
Hi folks,

Back in March, Sam and Julie had a discussion about how <property> entries in a <source> section of a mine's project.xml were set in that source's
Converter/PostProcessor [1]

Just fyi, since this didn't appear to be documented, I looked into the mechanism (the crux is DynamicAttributeTask.configureDynamicProperties()) and wrote up a
short piece of doc at [2] for future reference.  Please feel free to let me know about any mistakes or if you think there it would be useful to add more detail.

[1] http://mail.intermine.org/pipermail/dev/2016-March/003697.html
[2] https://intermine.readthedocs.org/en/latest/database/data-sources/custom/#properties

--
Justin Clark-Casey, Synbiomine/InterMine Developer
http://synbiomine.org
http://twitter.com/justincc

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Documentation of setting <property>s in <source> in project.xml to get those into a Converter/PostProcessor

Sam Hokin-3
Excellent addition, Justin, hits the spot.

On 04/21/2016 10:59 AM, Justin Clark-Casey wrote:

> Hi folks,
>
> Back in March, Sam and Julie had a discussion about how <property> entries in a <source> section of a mine's project.xml were set in
> that source's Converter/PostProcessor [1]
>
> Just fyi, since this didn't appear to be documented, I looked into the mechanism (the crux is
> DynamicAttributeTask.configureDynamicProperties()) and wrote up a short piece of doc at [2] for future reference.  Please feel free
> to let me know about any mistakes or if you think there it would be useful to add more detail.
>
> [1] http://mail.intermine.org/pipermail/dev/2016-March/003697.html
> [2] https://intermine.readthedocs.org/en/latest/database/data-sources/custom/#properties
>
> --
> Justin Clark-Casey, Synbiomine/InterMine Developer
> http://synbiomine.org
> http://twitter.com/justincc

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev