Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
plotID_python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_python
Commits
bae9928c
Commit
bae9928c
authored
Jul 23, 2021
by
Richter, Manuela
Browse files
Options
Downloads
Patches
Plain Diff
Testdatei für Nutzung git in Python-Kommandozeile hochgeladen
parent
c9780810
No related branches found
No related tags found
1 merge request
!12
v.0.1 for alpha release
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
example.py
+7
-7
7 additions, 7 deletions
example.py
test_git.py
+12
-0
12 additions, 0 deletions
test_git.py
with
19 additions
and
7 deletions
example.py
+
7
−
7
View file @
bae9928c
...
@@ -5,28 +5,28 @@ example workflow for integrating plotIDs
...
@@ -5,28 +5,28 @@ example workflow for integrating plotIDs
@author: Richter
@author: Richter
"""
"""
# Module einbinden
#
%%
Module einbinden
import
sys
import
sys
import
numpy
as
np
import
numpy
as
np
from
numpy
import
random
from
numpy
import
random
import
h5py
as
h5
# Pfade hinzufügen
#
%%
Pfade hinzufügen
sys
.
path
.
append
(
"
fcn_core
"
)
sys
.
path
.
append
(
"
fcn_core
"
)
sys
.
path
.
append
(
"
fcn_help
"
)
sys
.
path
.
append
(
"
fcn_help
"
)
# Project ID
#
%%
Project ID
ProjectID
=
"
MR01
"
ProjectID
=
"
MR01
"
#
Data
#
%% Daten erzeugen
x
=
np
.
linspace
(
0
,
10
,
100
)
x
=
np
.
linspace
(
0
,
10
,
100
)
y
=
random
.
rand
(
100
)
+
2
y
=
random
.
rand
(
100
)
+
2
dataset1
=
[
x
,
y
]
file
=
open
(
"
test_data.py
"
,
"
w
"
)
file
.
write
(
dataset1
)
#%% figure erstellen
This diff is collapsed.
Click to expand it.
test_git.py
0 → 100644
+
12
−
0
View file @
bae9928c
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 23 10:09:46 2021
@author: Richter
"""
#%% Test
a
=
1
b
=
2
print
(
a
+
b
)
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
sign in
to comment