guidepost 0.2.7__tar.gz → 0.2.8__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.
- {guidepost-0.2.7 → guidepost-0.2.8}/PKG-INFO +4 -4
- {guidepost-0.2.7 → guidepost-0.2.8}/README.md +3 -3
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost/guidepost.js +9 -6
- guidepost-0.2.8/guidepost/version.py +2 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost.egg-info/PKG-INFO +4 -4
- guidepost-0.2.7/guidepost/version.py +0 -2
- {guidepost-0.2.7 → guidepost-0.2.8}/LICENSE +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost/__init__.py +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost/guidepost.py +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost.egg-info/SOURCES.txt +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost.egg-info/dependency_links.txt +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost.egg-info/requires.txt +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/guidepost.egg-info/top_level.txt +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/pyproject.toml +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/setup.cfg +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/setup.py +0 -0
- {guidepost-0.2.7 → guidepost-0.2.8}/tutorials/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: guidepost
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
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
|
|
@@ -72,10 +72,10 @@ jobs_data = pd.read_parquet("data/jobs_data.parquet")
|
|
|
72
72
|
### 3. Configure Visualization
|
|
73
73
|
|
|
74
74
|
```python
|
|
75
|
-
gp.vis_data = jobs_data
|
|
75
|
+
gp.vis_data = jobs_data.dropna().to_dict()
|
|
76
76
|
gp.vis_configs = {
|
|
77
|
-
'x': '
|
|
78
|
-
'y': '
|
|
77
|
+
'x': 'start_time',
|
|
78
|
+
'y': 'queue_wait',
|
|
79
79
|
'color': 'nodes_req',
|
|
80
80
|
'color_agg': 'avg',
|
|
81
81
|
'categorical': 'user',
|
|
@@ -44,10 +44,10 @@ jobs_data = pd.read_parquet("data/jobs_data.parquet")
|
|
|
44
44
|
### 3. Configure Visualization
|
|
45
45
|
|
|
46
46
|
```python
|
|
47
|
-
gp.vis_data = jobs_data
|
|
47
|
+
gp.vis_data = jobs_data.dropna().to_dict()
|
|
48
48
|
gp.vis_configs = {
|
|
49
|
-
'x': '
|
|
50
|
-
'y': '
|
|
49
|
+
'x': 'start_time',
|
|
50
|
+
'y': 'queue_wait',
|
|
51
51
|
'color': 'nodes_req',
|
|
52
52
|
'color_agg': 'avg',
|
|
53
53
|
'categorical': 'user',
|
|
@@ -1879,14 +1879,16 @@ class Validator{
|
|
|
1879
1879
|
* @returns {boolean} - True if the string is a valid date, false otherwise.
|
|
1880
1880
|
*/
|
|
1881
1881
|
isValidDate(dateString) {
|
|
1882
|
-
const
|
|
1883
|
-
|
|
1882
|
+
const date_time = new Date(dateString);
|
|
1883
|
+
console.log("AAAAA", date_time.getTime());
|
|
1884
|
+
return !isNaN(date_time.getTime());
|
|
1884
1885
|
}
|
|
1885
1886
|
|
|
1886
1887
|
validate_data_loaded(){
|
|
1887
1888
|
if(Object.keys(this.data).length == 0){
|
|
1888
1889
|
return [{key:'data', value:'data', message:"No data detected. Please load data into <objectname>.vis_data"}];
|
|
1889
1890
|
}
|
|
1891
|
+
|
|
1890
1892
|
return [];
|
|
1891
1893
|
}
|
|
1892
1894
|
|
|
@@ -1990,12 +1992,13 @@ class Validator{
|
|
|
1990
1992
|
let test_val = this.data[this.var_specs[key]][Object.keys(this.data[this.var_specs[key]])[0]];
|
|
1991
1993
|
if (typeof test_val !== 'number'){
|
|
1992
1994
|
if(typeof test_val == 'string'){
|
|
1993
|
-
if(!isValidDate(test_val)){
|
|
1994
|
-
incorrect.push({ key: key, value: this.var_specs[key], message: 'The x-axis only supports floats, integers and dates. Please specify a different variable or verify that the datetime is properly formatted.' });
|
|
1995
|
+
if(!this.isValidDate(test_val)){
|
|
1996
|
+
incorrect.push({ key: key, value: this.var_specs[key], message: 'The x-axis aaaaa only supports floats, integers and dates. Please specify a different variable or verify that the datetime is properly formatted.' });
|
|
1995
1997
|
}
|
|
1996
1998
|
}
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
+
else {
|
|
2000
|
+
incorrect.push({ key: key, value: this.var_specs[key], message: 'The x-axis bbbbbb only supports floats, integers and dates. Please specify a different variable or verify that the datetime is properly formatted.' });
|
|
2001
|
+
}
|
|
1999
2002
|
}
|
|
2000
2003
|
}
|
|
2001
2004
|
else if (key === 'y') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: guidepost
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
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
|
|
@@ -72,10 +72,10 @@ jobs_data = pd.read_parquet("data/jobs_data.parquet")
|
|
|
72
72
|
### 3. Configure Visualization
|
|
73
73
|
|
|
74
74
|
```python
|
|
75
|
-
gp.vis_data = jobs_data
|
|
75
|
+
gp.vis_data = jobs_data.dropna().to_dict()
|
|
76
76
|
gp.vis_configs = {
|
|
77
|
-
'x': '
|
|
78
|
-
'y': '
|
|
77
|
+
'x': 'start_time',
|
|
78
|
+
'y': 'queue_wait',
|
|
79
79
|
'color': 'nodes_req',
|
|
80
80
|
'color_agg': 'avg',
|
|
81
81
|
'categorical': 'user',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|