Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdc-counting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radek Hušek
cdc-counting
Commits
673bbf42
Commit
673bbf42
authored
3 years ago
by
Radek Hušek
Browse files
Options
Downloads
Patches
Plain Diff
add experiments/{README.md,_experiment.py}
parent
31f171ad
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
experiments/README.md
+5
-0
5 additions, 0 deletions
experiments/README.md
experiments/_experiment.py
+8
-0
8 additions, 0 deletions
experiments/_experiment.py
with
13 additions
and
0 deletions
experiments/README.md
0 → 100644
+
5
−
0
View file @
673bbf42
## How to use
If
`from sage.all import *`
fails try running
the python script as
`sage -python ./script.py`
.
In the case of bash script use
`PYTHON="sage -python" ./script.sh`
.
This diff is collapsed.
Click to expand it.
experiments/_experiment.py
0 → 100644
+
8
−
0
View file @
673bbf42
import
sys
,
os
,
re
sys
.
path
.
append
((
os
.
path
.
dirname
(
__file__
)
or
"
.
"
)
+
"
/..
"
)
import
__main__
_name
=
re
.
sub
(
r
"
.*/
"
,
""
,
__main__
.
__file__
)
print
(
"
\n
%s:
\n
%s=
\n
%s
"
%
(
_name
,
"
=
"
*
len
(
_name
),
__main__
.
__doc__
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment