-
Notifications
You must be signed in to change notification settings - Fork 9
new option for no apical + str for yaml #200
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
Conversation
|
can we increase the lengths of line to at least 100? |
| ) | ||
| try: | ||
| apical_points_isec = tools.load_json( | ||
| os.path.join(one_row['morph_dir'], "apical_points_isec.json") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you need the apical for MM?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the idea is that for the current release we don't use the bAP feature for the selection, so we don't need the values.
But I consider this fix fairly dangerous. I'd propose we add an option to the config file to actively disable the apical points
|
the features using apical points are called bAP, and theu are discared after the computation when the extneuron.db is prioduced. So better not use them at all to speed things up.
…On Jun 25 2020, at 1:35 pm, MikeG ***@***.***> wrote:
@mgeplf commented on this pull request.
In bluepymm/run_combos/calculate_scores.py (#200 (comment)):
> @@ -218,9 +217,13 @@ def create_arg_list(scores_db_filename, emodel_dirs, final_dict,
apical_points_isec = {}
setup = tools.load_module('setup', emodel_dirs[one_row['emodel']])
if hasattr(setup, 'multieval'):
- apical_points_isec = tools.load_json(
- os.path.join(one_row['morph_dir'], "apical_points_isec.json")
- )
+ try:
+ apical_points_isec = tools.load_json(
+ os.path.join(one_row['morph_dir'], "apical_points_isec.json")
Don't you need the apical for MM?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#200 (review)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AC62VA5CYKSOXUYUSLPUZTLRYMZB3ANCNFSM4OIH5UPQ).
|
| ) | ||
| try: | ||
| apical_points_isec = tools.load_json( | ||
| os.path.join(one_row['morph_dir'], "apical_points_isec.json") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the idea is that for the current release we don't use the bAP feature for the selection, so we don't need the values.
But I consider this fix fairly dangerous. I'd propose we add an option to the config file to actively disable the apical points
|
Ok, I'll add the option in the config file! |
|
it is not so obvious, the dict is not used in the run step, only in the prepare I think |
|
There is a weird bug I can't quite understand how to fix, @anilbey, could you have a look, thanks! |
Do you mean the sqlite error below that's making travis fail?
|
|
Yeah, I think so |
|
yes! |
|
Ok, I'm on it. |
|
That's the error |
Codecov Report
@@ Coverage Diff @@
## master #200 +/- ##
==========================================
+ Coverage 72.06% 72.12% +0.06%
==========================================
Files 21 21
Lines 1353 1356 +3
==========================================
+ Hits 975 978 +3
Misses 378 378
Continue to review full report at Codecov.
|
This reverts commit 0114eb0.
New parameter use_apical_points in the config dict to disable the use of apical_points.
Small bug from previous PR on allowing for yaml recipe file, the layer info should be a str so that dataframe.merge can add the etypes to the dataframes.