Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TopFarm2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
TOPFARM
TopFarm2
Commits
dacb2f82
There was a problem fetching the pipeline summary.
Commit
dacb2f82
authored
6 years ago
by
Mikkel Friis-Møller
Browse files
Options
Downloads
Plain Diff
Merge branch 'pyfuga_split_setup_from_init' into 'master'
Pyfuga split setup from init Closes
#11
See merge request
!17
parents
098b8536
5f1d88ff
No related branches found
No related tags found
1 merge request
!17
Pyfuga split setup from init
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_fuga/test_pyfuga.py
+4
-2
4 additions, 2 deletions
tests/test_fuga/test_pyfuga.py
with
4 additions
and
2 deletions
tests/test_fuga/test_pyfuga.py
+
4
−
2
View file @
dacb2f82
...
...
@@ -9,6 +9,7 @@ import time
import
unittest
import
numpy
as
np
import
pytest
from
topfarm.cost_models.fuga.pascal_dll
import
PascalDLL
from
topfarm.cost_models.fuga.py_fuga
import
PyFuga
import
os
...
...
@@ -37,9 +38,10 @@ class Test(unittest.TestCase):
def
lib_missing
(
self
):
lib_path
=
os
.
path
.
dirname
(
py_fuga
.
__file__
)
+
"
/Colonel/FugaLib/FugaLib.%s
"
%
(
'
so
'
,
'
dll
'
)[
os
.
name
==
'
nt
'
]
if
os
.
path
.
isfile
(
lib_path
)
is
False
:
sys
.
stderr
.
write
(
"
Fugalib
'
%s
'
not found
\n
"
%
lib_path
)
r
eturn
True
pytest
.
xfail
(
"
Fugalib missing
"
)
r
aise
Warning
(
"
Fugalib
'
%s
'
not found
\n
"
%
lib_path
)
return
False
def
get_fuga
(
self
,
tb_x
=
[
423974
,
424033
],
tb_y
=
[
6151447
,
6150889
]):
...
...
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