Skip to content

Commit

Permalink
#21: Finish removing redundant traceback for Python 3, update documen…
Browse files Browse the repository at this point in the history
…tation
  • Loading branch information
Zong Huang committed Jul 6, 2019
1 parent dafad25 commit de08cf0
Show file tree
Hide file tree
Showing 34 changed files with 1,010 additions and 131 deletions.
3 changes: 1 addition & 2 deletions analysis/external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
#
# This will create a file in `paths['external_dir']` named `destination` that is a copy of `source`.

# Destination | Source
wksmcldsk
# Destination | Source
36 changes: 9 additions & 27 deletions analysis/log/make.log
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
--------------------------------------------------------------------------------
Makelog started: 2019-07-05 21:07:44
Makelog started: 2019-07-05 21:27:34
Working directory: C:\Users\Zong\template\analysis
--------------------------------------------------------------------------------
Input links successfully created!
*********************************************************************************
* An error was encountered with `link_externals`. Traceback can be found below. *
*********************************************************************************

Traceback (most recent call last):
File "C:\Users\Zong\template\lib\gslab_make\move_sources.py", line 172, in link_externals
move_map = create_links(paths, file_list, mapping_dict)
File "C:\Users\Zong\template\lib\gslab_make\move_sources.py", line 49, in create_links
move_list = MoveList(file_list, move_dir, mapping_dict)
File "C:\Users\Zong\template\lib\gslab_make\private\movedirective.py", line 321, in __init__
self.get_move_directive_list()
File "C:\Users\Zong\template\lib\gslab_make\private\movedirective.py", line 369, in get_move_directive_list
self.move_directive_list = [MoveDirective(raw, line, self.move_dir) for (raw, line) in lines]
File "C:\Users\Zong\template\lib\gslab_make\private\movedirective.py", line 55, in __init__
self.get_paths()
File "C:\Users\Zong\template\lib\gslab_make\private\movedirective.py", line 86, in get_paths
raise_from(CritError(error_message), None)
File "C:\Users\Zong\Anaconda3\envs\mypython2\lib\site-packages\future\utils\__init__.py", line 456, in raise_from
raise e
CritError:
ERROR! Link/copy `wksmcldsk` incorrectly specified. Link/copy should be specified in the following format: `destination | source`. Traceback can be found below.
> Traceback (most recent call last):
> File "C:\Users\Zong\template\lib\gslab_make\private\movedirective.py", line 82, in get_paths
> self.destination, self.source = self.line
> ValueError: need more than 1 value to unpack

External links successfully created!
Source logs successfully written!
Executing command: `python "C:\Users\Zong\template\analysis\code\descriptive.py" `
Output logs successfully written!
--------------------------------------------------------------------------------
Makelog ended: 2019-07-05 21:27:39
Working directory: C:\Users\Zong\template\analysis
--------------------------------------------------------------------------------
28 changes: 28 additions & 0 deletions analysis/log/output_heads.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
File headers
--------------------------------------------------------------------------------
C:\Users\Zong\template\analysis\output\tables.txt
--------------------------------------------------------------------------------
<tab:table>
300001.0
173205.369
600000
2





--------------------------------------------------------------------------------
C:\Users\Zong\template\analysis\output\plot.eps
--------------------------------------------------------------------------------
%!PS-Adobe-3.0 EPSF-3.0
%%Title: output/plot.eps
%%Creator: matplotlib version 2.0.2, http://matplotlib.org/
%%CreationDate: Fri Jul 5 21:27:38 2019
%%Orientation: portrait
%%BoundingBox: 75 223 536 568
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
--------------------------------------------------------------------------------
3 changes: 3 additions & 0 deletions analysis/log/output_stats.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file name | last modified | file size
C:\Users\Zong\template\analysis\output\tables.txt | 2019-07-06 04:27:40 | 44
C:\Users\Zong\template\analysis\output\plot.eps | 2019-07-06 04:27:39 | 14084
28 changes: 28 additions & 0 deletions analysis/log/source_heads.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
File headers
--------------------------------------------------------------------------------
C:\Users\Zong\template\data\output\data_table.csv
--------------------------------------------------------------------------------
"x"
2
4
6
8
10
12
14
16
18
--------------------------------------------------------------------------------
C:\Users\Zong\template\data\output\data_graph.csv
--------------------------------------------------------------------------------
x
2
4
6
8
10
12
14
16
18
--------------------------------------------------------------------------------
3 changes: 3 additions & 0 deletions analysis/log/source_map.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
destination | source
input\data_table.csv | C:\Users\Zong\template\data\output\data_table.csv
input\data_graph.csv | C:\Users\Zong\template\data\output\data_graph.csv
3 changes: 3 additions & 0 deletions analysis/log/source_stats.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file name | last modified | file size
C:\Users\Zong\template\data\output\data_table.csv | 2019-07-06 04:27:28 | 2344449
C:\Users\Zong\template\data\output\data_graph.csv | 2019-07-06 04:27:32 | 2344453
Loading

0 comments on commit de08cf0

Please sign in to comment.