Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ICARTT Python Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
MBEES
ICARTT Python Package
Commits
6cc0419c
Commit
6cc0419c
authored
3 years ago
by
Florian Obersteiner
Browse files
Options
Downloads
Patches
Plain Diff
added wd as script global
parent
55a67969
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!5
introduction of pathlib.Path
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_dataset.py
+3
-3
3 additions, 3 deletions
tests/test_dataset.py
with
3 additions
and
3 deletions
tests/test_dataset.py
+
3
−
3
View file @
6cc0419c
...
...
@@ -5,8 +5,8 @@ import datetime
import
numpy
as
np
import
icartt
# example files
fns
=
pathlib
.
Path
(
'
./examples
'
).
glob
(
'
*.ict
'
)
#
working directory,
example files
wd
,
fns
=
pathlib
.
Path
(
'
.
'
),
pathlib
.
Path
(
'
./examples
'
).
glob
(
'
*.ict
'
)
def
compareFiles
(
fn
,
strIn
,
strOut
,
skiplines
=
0
,
nlines
=-
1
):
# pragma: no cover
strOut
.
seek
(
0
)
...
...
@@ -63,7 +63,7 @@ def compareFiles(fn, strIn, strOut, skiplines=0, nlines=-1): # pragma: no cover
class
Simple1001TestCase
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
fn
=
'
tests/
examples/NOx_RHBrown_20040830_R0.ict
'
self
.
fn
=
wd
/
'
examples/NOx_RHBrown_20040830_R0.ict
'
self
.
nHeader
=
41
def
tearDown
(
self
):
...
...
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