guidepost 0.2.13__tar.gz → 0.2.14__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: guidepost
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Guidepost. An overview visualization for understanding supercomputer queue data.
5
5
  Home-page: https://github.com/cscully-allison/guidepost
6
6
  Author: Connor Scully-Allison
@@ -7,7 +7,7 @@ import json
7
7
  import os
8
8
 
9
9
  class Guidepost(anywidget.AnyWidget):
10
- _esm = os.path.join("../guidepost/guidepost.js")
10
+ _esm = os.path.join(os.path.dirname(__file__), "guidepost.js")
11
11
  vis_data = traitlets.Dict({}).tag(sync=True)
12
12
  vis_configs = traitlets.Dict({}).tag(sync=True)
13
13
  selected_records = traitlets.Unicode("[]").tag(sync=True)
@@ -20,12 +20,13 @@ class Guidepost(anywidget.AnyWidget):
20
20
  Drop NAs, remove time deltas, report warnings
21
21
  '''
22
22
 
23
- in_df.insert(0, 'gp_idx', range(0, len(in_df)))
24
- self.cached_records_df = in_df
23
+ in_cpy = in_df.copy()
24
+ in_cpy.insert(0, 'gp_idx', range(0, len(in_cpy)))
25
+ self.cached_records_df = in_cpy
25
26
 
26
27
  _warn_skips = (os.path.dirname('.'),)
27
- original_cols = in_df.columns
28
- o_df = in_df.dropna(axis=1, how='all')
28
+ original_cols = in_cpy.columns
29
+ o_df = in_cpy.dropna(axis=1, how='all')
29
30
 
30
31
  #remove columns with only nans
31
32
  col_diff = original_cols.difference(o_df.columns)
@@ -0,0 +1,2 @@
1
+ __version_info__ = ("0", "2", "14")
2
+ __version__ = ".".join(__version_info__)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: guidepost
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Guidepost. An overview visualization for understanding supercomputer queue data.
5
5
  Home-page: https://github.com/cscully-allison/guidepost
6
6
  Author: Connor Scully-Allison
@@ -1,2 +0,0 @@
1
- __version_info__ = ("0", "2", "13")
2
- __version__ = ".".join(__version_info__)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes