-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
667fa88
commit 7c736a6
Showing
5 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include LICENSE.txt | ||
include README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,12 @@ | |
url='https://github.com/FlorianDietz/comgra', | ||
author='Florian Dietz', | ||
author_email='[email protected]', | ||
packages=['comgra'] | ||
packages=['comgra'], | ||
install_requires=[ | ||
'dash==2.6.2', | ||
'dash-svg==0.0.12', | ||
'msgpack==1.0.4', | ||
'numpy==1.24.2', | ||
'pandas==1.5.3', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import os | ||
from pathlib import Path | ||
import sys | ||
|
||
import argparse | ||
import socket | ||
|
||
from comgra import recorder | ||
|
||
|
||
|
||
def run_demonstration(comgra_data_root_path): | ||
pass | ||
|
||
|
||
if __name__ == '__main__': | ||
parser = argparse.ArgumentParser(description="Run an experiment.") | ||
parser.add_argument('--name', dest='name', default=None) | ||
parser.add_argument('--port', dest='port', default=None) | ||
parser.add_argument('--path', dest='path', default=None) | ||
args = parser.parse_args() | ||
if args.path is None: | ||
path = (Path(__file__).parent.parent / 'testing_data').absolute() / args.name | ||
path.mkdir(exist_ok=True, parents=True) | ||
else: | ||
path = Path(args.path).absolute() / args.name | ||
assert path.exists(), path | ||
run_demonstration(path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters