Name: edit-analysis-tools
Owner: MIT App Inventor Project
Description: Edit Analysis Tools for App Inventor
Created: 2017-11-02 19:22:14.0
Updated: 2017-11-03 20:19:47.0
Pushed: 2018-03-01 18:51:17.0
Homepage: null
Size: 23
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Recommended environment is IPython, version 6 or above.
ython -i main.py
To load from a previously saved state file (on disk as mystate.pickle), use below. The double-dash tells ipython to send subsequent args to the script.
ython -i main.py -- -f mystate
Also works equally well with `$ python3 -i
`.
You can use pyenv to set up default python to be python 3.
Requires Python 3 (which is included in IPython >=6).
thon main.py -h
e: main.py [-h] [-u USERFILES] [-f FILE]
analysis tools for edit stream data.
onal arguments:
, --help show this help message and exit
USERFILES, --userFiles USERFILES
path to userFiles input folder
FILE, --file FILE saved pickle file from which to restore data
The -u USERFILES
argument will overwrite the hard-coded default directory from which to read in userFiles data.
The -f FILE
argument will ignore the input folder and instead load a previously-saved database from the given file.
Library (class):
In the working directory of this script, place a file named ignore_users which lists users (as codenames), with one user per line. This is useful when you have users who are to be ignored from experimental data, which may include research staff or participants who did not complete informed consent. Any text after whitespace on a line will be ignored, so it can be used for comments.
In dataImportJson.py
there is a list of strings ignore_files
. All file names in there will be ignored.
The default is '.DS_Store'
to prevent Mac OS metadata from being processed.
Recommend using JetBrains PyCharm. Configuration files are included.
Code style is PEP-8.