Open
Description
Currently using ARCtrl in pythomn for the first time at BioHackEU24, first off it works great!
However, the API has same weird inconsistencies that i guess come from the general transpilation process. Example:
-
This is fine:
from arctrl.arc import ARC ARC.from_rocrate_json_string(...)
-
This is weird:
from arctrl.json import JsonController # <-- weird namespace JsonController.Investigation().from_rocrate_json_string # <-- class instantiation necessary ```
I'd suggest to write top-level entry points that are designed for transpiled languages only (as i suspect is the case for the JsonController
module) in the native language. It is completely fine to have diverging APIs for convenience IMO, however i can see the additional maintenance overhead.
Metadata
Assignees
Labels
Type
Projects
Status
Done
Activity