Chris Barnes
Chris Barnes
@yyuu any thoughts on this? Would be really beneficial to get PR #1361 merged and lower the barrier to entry for all contributors.
> So, #96 addresses this Yes, I should have looked into it further! IMO pandoc is the primary thrust of this repo, so it made sense to me to base...
I think problog does everything prolog does and has a python API. In particular, the facts should definitely be generated dynamically from the database so that changes to the connectome...
We'll have to deal with is naming inconsistency. Capitalisation and dashes/spaces can be dealt with fairly easily (although it requires overriding `__eq__` and `__hash__` ), but abbreviations (acetylcholine -> ACh,...
If we already have in the database a Neurotransmitter('acetylcholine'), with a bunch of metadata about it, and a user creates Neurotransmitter('ACh'), I was thinking of using `__new__` to intercept the...
Sorry I missed this, but to reiterate what I said in my email so that it's out in the open: We currently have access to: - which neurons express particular...
Discussed in slack starting https://openworm.slack.com/archives/pyopenworm/p1486224576000071
We should also refactor any methods which take a neurotransmitter as an argument, and do `neurotransmitter_arg = str(neurotransmitter_arg) if neurotransmitter_arg instanceof Transmitter else neurotransmitter_arg.upper()`, so that people can still just...
There is also new expression data in this paper: http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005283 The machine-readable versions are in the [S1 Dataset](http://journals.plos.org/ploscompbiol/article/file?type=supplementary&id=info:doi/10.1371/journal.pcbi.1005283.s004).
How about something like: ```python def split_connectivity( pre: list[TreeNeuron], post: list[TreeNeuron] | None, split_fn: Callable[[TreeNeuron], dict[Any, TreeNeuron]] ) -> pd.DataFrame: pre_compartments = dict() for n in pre: compartment_to_nrn = split_fn(n)...