Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further porting: ImportFile is now replaced by OpenDataFile
[modules/paravis.git]
/
test
/
VisuPrs
/
StreamLines
/
B4.py
diff --git
a/test/VisuPrs/StreamLines/B4.py
b/test/VisuPrs/StreamLines/B4.py
index ae6feb5254bef8b3951933822153e7c0f5adc741..ec1167dc18a767029c37042940122df7f0506c20 100644
(file)
--- a/
test/VisuPrs/StreamLines/B4.py
+++ b/
test/VisuPrs/StreamLines/B4.py
@@
-30,7
+30,7
@@
my_paravis = paravis.myParavis
# 1. Import MED file
print 'Import "ResOK_0000.med"...............',
file_path = datadir + "ResOK_0000.med"
-
my_paravis.Import
File(file_path)
+
OpenData
File(file_path)
med_reader = pvsimple.GetActiveSource()
if med_reader is None:
print "FAILED"