Skip to content
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

Incorporate data translation and gaussian smoothing plugin #61

Merged
merged 22 commits into from
Feb 7, 2020
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Include tooltips
  • Loading branch information
nmearl committed Feb 7, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
aramase Anish Ramasekar
commit 5a931aed29696be76e904816d04667646ac8eb74
3 changes: 0 additions & 3 deletions jdaviz/app.py
Original file line number Diff line number Diff line change
@@ -126,9 +126,6 @@ def load_configuration(self, path):
with open(path, 'r') as f:
config = yaml.safe_load(f)

from .core.registries import viewers
print(viewers.members.get('g-image-viewer'))

# Get a reference to the component visibility states
# comps = config.get('components', {})

3 changes: 0 additions & 3 deletions jdaviz/components/viewer_area/item.vue
Original file line number Diff line number Diff line change
@@ -3,8 +3,5 @@
<pane v-for="(stack, i) in stacks">
<jupyter-widget :widget="stack" />
</pane>
<!-- <pane v-for="(item, i) in items">
<jupyter-widget :widget="item" />
</pane> -->
</splitpanes>
</template>
9 changes: 7 additions & 2 deletions jdaviz/components/viewer_area/viewer_area.py
Original file line number Diff line number Diff line change
@@ -54,8 +54,6 @@ def add_item(self, item):

self.items = self.items + [item]

print(len(self.items), self.items)

@observe('items')
def items_changed(self, event):
if len(event['new']) == 0:
@@ -192,9 +190,16 @@ def find_stack(items):
if isinstance(item, Stack):
item.add_item(tab_item)
return True
elif isinstance(item, Item):
if len(item.stacks) == 0:
# If we got here, most likely there's an Item object
# with no Stack. Create one and add it.
stack = Stack(session=self.session)
items[0].add_stack(stack)

return find_stack(item.stacks)


find_stack(self.items)

def parse_layout(self, layout):