Skip to content

WIP HBP-75 Merged plotting from tvb-scripts#100

Closed
bogdanvalean1 wants to merge 1 commit intotvb-multiscale-cosimfrom
tvb-plot-from-scripts
Closed

WIP HBP-75 Merged plotting from tvb-scripts#100
bogdanvalean1 wants to merge 1 commit intotvb-multiscale-cosimfrom
tvb-plot-from-scripts

Conversation

@bogdanvalean1
Copy link
Copy Markdown
Member

@bogdanvalean1 bogdanvalean1 commented Apr 9, 2020

I merged plot module from tvb-scripts into library

@bogdanvalean1
Copy link
Copy Markdown
Member Author

bogdanvalean1 commented Apr 9, 2020

Because @dionperd proposed to keep for the moment to the scripts on his branch ( https://req.thevirtualbrain.org/browse/HBP-75?focusedCommentId=17456&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17456 ) I created a PR dionperd/tvb-scripts#1 from a fork with some code cleanup after this merge.


def __init__(self, config=CONFIGURED):
self.config = config
def __init__(self, config=None):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous code allowed more unity in the configurations. Currently, the fresh Config() in case of missing init param is always "fresh"

import numpy


class GenericConfig(object):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be here!!!!

self._raw_data = raw_folder
self._data_mode = data_mode

class FiguresConfig(object):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have here under tvb.simulator.PLOT just a configuration for Figures. This is the single purpose for this module

@@ -0,0 +1,62 @@
# -*- coding: utf-8 -*-
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This type of main entrance to plotting might deserve to stay inside tvb_multiscale only

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After discussing with @dionperd we agreed to keep this here.
Then adding the license at the top will be needed.

@liadomide
Copy link
Copy Markdown
Member

We discussed to move these changes in a clean branch from master and try to merge there

@liadomide liadomide closed this Apr 10, 2020
@liadomide liadomide deleted the tvb-plot-from-scripts branch April 14, 2020 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants