]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Further porting: ImportFile is now replaced by OpenDataFile
authorabn <adrien.bruneton@cea.fr>
Tue, 28 Oct 2014 14:42:32 +0000 (15:42 +0100)
committerabn <adrien.bruneton@cea.fr>
Tue, 28 Oct 2014 14:42:32 +0000 (15:42 +0100)
186 files changed:
test/VisuPrs/3D_viewer/A1.py
test/VisuPrs/3D_viewer/A2.py
test/VisuPrs/3D_viewer/A3.py
test/VisuPrs/3D_viewer/A4.py
test/VisuPrs/3D_viewer/A5.py
test/VisuPrs/3D_viewer/A6.py
test/VisuPrs/3D_viewer/A7.py
test/VisuPrs/3D_viewer/A8.py
test/VisuPrs/3D_viewer/A9.py
test/VisuPrs/3D_viewer/B0.py
test/VisuPrs/Animation/A0.py
test/VisuPrs/Animation/A1.py
test/VisuPrs/Animation/A2.py
test/VisuPrs/Animation/A4.py
test/VisuPrs/Animation/A7.py
test/VisuPrs/Animation/A8.py
test/VisuPrs/Animation/B2.py
test/VisuPrs/Animation/B5.py
test/VisuPrs/Animation/B6.py
test/VisuPrs/Animation/C0.py
test/VisuPrs/Animation/C1.py
test/VisuPrs/Animation/C3.py
test/VisuPrs/Animation/C8.py
test/VisuPrs/Animation/D1.py
test/VisuPrs/Animation/D2.py
test/VisuPrs/Animation/D6.py
test/VisuPrs/Animation/D9.py
test/VisuPrs/Animation/E0.py
test/VisuPrs/Animation/E4.py
test/VisuPrs/Animation/E7.py
test/VisuPrs/Animation/E8.py
test/VisuPrs/Animation/F2.py
test/VisuPrs/Animation/F5.py
test/VisuPrs/Animation/F6.py
test/VisuPrs/Animation/G0.py
test/VisuPrs/Animation/G3.py
test/VisuPrs/Animation/G4.py
test/VisuPrs/Animation/G8.py
test/VisuPrs/Animation/H1.py
test/VisuPrs/Animation/H2.py
test/VisuPrs/CutLines/G2.py
test/VisuPrs/CutPlanes/B3.py
test/VisuPrs/CutPlanes/G2.py
test/VisuPrs/DeformedShape/B3.py
test/VisuPrs/DeformedShape/B4.py
test/VisuPrs/DeformedShape/F9.py
test/VisuPrs/GaussPoints/A0.py
test/VisuPrs/GaussPoints/A1.py
test/VisuPrs/GaussPoints/A2.py
test/VisuPrs/GaussPoints/A3.py
test/VisuPrs/GaussPoints/A4.py
test/VisuPrs/GaussPoints/A5.py
test/VisuPrs/GaussPoints/A6.py
test/VisuPrs/GaussPoints/A7.py
test/VisuPrs/GaussPoints/A9.py
test/VisuPrs/GaussPoints/B0.py
test/VisuPrs/GaussPoints/B1.py
test/VisuPrs/GaussPoints/B2.py
test/VisuPrs/GaussPoints/B3.py
test/VisuPrs/GaussPoints/B4.py
test/VisuPrs/GaussPoints/B5.py
test/VisuPrs/GaussPoints/B6.py
test/VisuPrs/GaussPoints/B7.py
test/VisuPrs/GaussPoints/B8.py
test/VisuPrs/GaussPoints/B9.py
test/VisuPrs/GaussPoints/C0.py
test/VisuPrs/GaussPoints/C1.py
test/VisuPrs/GaussPoints/C2.py
test/VisuPrs/GaussPoints/C3.py
test/VisuPrs/GaussPoints/C4.py
test/VisuPrs/GaussPoints/C5.py
test/VisuPrs/GaussPoints/C6.py
test/VisuPrs/GaussPoints/C7.py
test/VisuPrs/GaussPoints/C8.py
test/VisuPrs/GaussPoints/C9.py
test/VisuPrs/IsoSurfaces/G2.py
test/VisuPrs/MeshPresentation/G3.py
test/VisuPrs/MeshPresentation/G4.py
test/VisuPrs/MeshPresentation/G5.py
test/VisuPrs/MeshPresentation/G6.py
test/VisuPrs/MeshPresentation/G7.py
test/VisuPrs/MeshPresentation/G8.py
test/VisuPrs/MeshPresentation/G9.py
test/VisuPrs/MeshPresentation/H0.py
test/VisuPrs/MeshPresentation/H1.py
test/VisuPrs/MeshPresentation/H2.py
test/VisuPrs/MeshPresentation/H3.py
test/VisuPrs/MeshPresentation/H4.py
test/VisuPrs/MeshPresentation/H5.py
test/VisuPrs/MeshPresentation/H6.py
test/VisuPrs/MeshPresentation/H7.py
test/VisuPrs/MeshPresentation/H8.py
test/VisuPrs/MeshPresentation/H9.py
test/VisuPrs/MeshPresentation/I0.py
test/VisuPrs/MeshPresentation/I1.py
test/VisuPrs/MeshPresentation/I2.py
test/VisuPrs/MeshPresentation/I3.py
test/VisuPrs/MeshPresentation/I4.py
test/VisuPrs/MeshPresentation/I5.py
test/VisuPrs/MeshPresentation/I6.py
test/VisuPrs/MeshPresentation/I7.py
test/VisuPrs/MeshPresentation/I8.py
test/VisuPrs/MeshPresentation/I9.py
test/VisuPrs/MeshPresentation/J0.py
test/VisuPrs/MeshPresentation/J1.py
test/VisuPrs/MeshPresentation/J2.py
test/VisuPrs/MeshPresentation/J3.py
test/VisuPrs/MeshPresentation/J4.py
test/VisuPrs/MeshPresentation/J5.py
test/VisuPrs/MeshPresentation/J6.py
test/VisuPrs/MeshPresentation/J7.py
test/VisuPrs/MeshPresentation/J8.py
test/VisuPrs/MeshPresentation/J9.py
test/VisuPrs/MeshPresentation/K0.py
test/VisuPrs/MeshPresentation/K1.py
test/VisuPrs/MeshPresentation/K2.py
test/VisuPrs/MeshPresentation/K3.py
test/VisuPrs/MeshPresentation/K4.py
test/VisuPrs/MeshPresentation/K5.py
test/VisuPrs/MeshPresentation/K6.py
test/VisuPrs/MeshPresentation/K7.py
test/VisuPrs/MeshPresentation/K8.py
test/VisuPrs/MeshPresentation/K9.py
test/VisuPrs/MeshPresentation/L0.py
test/VisuPrs/MeshPresentation/L1.py
test/VisuPrs/Plot3D/G2.py
test/VisuPrs/SWIG_scripts/A1.py
test/VisuPrs/SWIG_scripts/A3.py
test/VisuPrs/SWIG_scripts/A4.py
test/VisuPrs/SWIG_scripts/A7.py
test/VisuPrs/SWIG_scripts/B1.py
test/VisuPrs/SWIG_scripts/B4.py
test/VisuPrs/SWIG_scripts/B5.py
test/VisuPrs/SWIG_scripts/B9.py
test/VisuPrs/ScalarMap/B3.py
test/VisuPrs/ScalarMap/G2.py
test/VisuPrs/ScalarMap_On_DeformedShape/B3.py
test/VisuPrs/StreamLines/B4.py
test/VisuPrs/StreamLines/F9.py
test/VisuPrs/StreamLines/G0.py
test/VisuPrs/Vectors/B3.py
test/VisuPrs/Vectors/F9.py
test/VisuPrs/bugs/A0.py
test/VisuPrs/bugs/A1.py
test/VisuPrs/bugs/A2.py
test/VisuPrs/bugs/A3.py
test/VisuPrs/bugs/A4.py
test/VisuPrs/bugs/A5.py
test/VisuPrs/bugs/A6.py
test/VisuPrs/bugs/A9.py
test/VisuPrs/bugs/B1.py
test/VisuPrs/bugs/C3.py
test/VisuPrs/bugs/C4.py
test/VisuPrs/bugs/C5.py
test/VisuPrs/bugs/C6.py
test/VisuPrs/bugs/C7.py
test/VisuPrs/bugs/C9.py
test/VisuPrs/bugs/D0.py
test/VisuPrs/bugs/D1.py
test/VisuPrs/bugs/D3.py
test/VisuPrs/bugs/D6.py
test/VisuPrs/bugs/D7.py
test/VisuPrs/bugs/E0.py
test/VisuPrs/dump_study/A0.py
test/VisuPrs/dump_study/A1.py
test/VisuPrs/dump_study/A2.py
test/VisuPrs/dump_study/A3.py
test/VisuPrs/dump_study/A4.py
test/VisuPrs/dump_study/A5.py
test/VisuPrs/dump_study/A6.py
test/VisuPrs/dump_study/A7.py
test/VisuPrs/dump_study/A8.py
test/VisuPrs/dump_study/A9.py
test/VisuPrs/dump_study/B0.py
test/VisuPrs/imps/A1.py
test/VisuPrs/imps/A2.py
test/VisuPrs/imps/A3.py
test/VisuPrs/imps/A4.py
test/VisuPrs/imps/A6.py
test/VisuPrs/imps/B1.py
test/VisuPrs/imps/B2.py
test/VisuPrs/united/A1.py
test/VisuPrs/united/A2.py
test/VisuPrs/united/A4.py
test/VisuPrs/united/A5.py
test/VisuPrs/united/B0.py

index 5b90cc735034e47a63efd313a0e5699ea3d8d2ef..1b1fc5de505f41f1292b69371fa112cf2ea1184e 100644 (file)
@@ -47,7 +47,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 68050bf2624099533c43905cd0bcce08fd2ad41b..e75a9e214aea3fb2de2319d7d4c6488d87bcfe9e 100644 (file)
@@ -47,7 +47,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index d0f04a093657ce4a5d3b60f1bd2a215af92d3786..6b05dd919ffa3eb8019f87633adcb4eda98bdb39 100644 (file)
@@ -47,7 +47,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 964cfdc01c49e962643c844c69237fb147b7cae6..034cbd8d77ceac8dc04160b4dd18c4dd9cd32bfa 100644 (file)
@@ -46,7 +46,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 3c391317eade9c92bcc3d167c74bf546880a68ee..3362a85f99538428cf48a6ee10dc103d7f1fdbe6 100644 (file)
@@ -47,7 +47,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-myParavis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 883f7a9d7716dba24481c22ff089c12373c0677f..ff50c0c5283e43227b636cc7daba6c43b9bf7288 100644 (file)
@@ -48,7 +48,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 327a5f05f7d88c37035bc00eb2ccaaf010ffcaa6..4e37a3b72395ab163da15a540d84621c4c0db5e0 100644 (file)
@@ -46,7 +46,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index c0dcac8a4ac5b6920913dbd041e0972ae23ce240..778c188767e1d26e5141be280e26554f6b953bd8 100644 (file)
@@ -46,7 +46,7 @@ print " --------------------------------- "
 print "file ", file_name
 print " --------------------------------- "
 
-my_paravis.ImportFile(file_name)
+OpenDataFile(file_name)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index d205c95f2919b6d8419c1be4023a4f72bb3cc924..dab1d225a7d013dd9c98e85b15d38e1d7b58e2ee 100644 (file)
@@ -73,7 +73,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 9e281adb7eda2d947c4366ed40992dbf46bd6891..771229a975b255db53f3f8ca63e109ed917a0679 100644 (file)
@@ -47,7 +47,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 proxy = GetActiveSource()
 if proxy is None:
     raise RuntimeError("Error: can't import file.")
index 68e4a2b8447c508b15df342f248fd43ef6d67bed..86e95d522d1a15aed8435b458902fa4385ff546d 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 7daa457cf2465b769d2a2f3f52f6d5831e0cd499..c26a4252ab35ae39c02be14af8f8df74d8a30667 100644 (file)
@@ -32,7 +32,7 @@ my_paravis = paravis.myParavis
 # 1. TimeStamps.med import
 print 'Importing "TimeStamps.med"................',
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None:
     print "FAILED"
index dc349469ca7dea41776ad297048fb92c8d4a3948..fa27d603053a0b1b0bfa6660190cf9522b475d69 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 2cbde37e6f1449a248112d684d7d9dce612f22a8..a1e111787917284bbcfe406132b93dea596f6e7a 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index ede7e45db78210c08f9dc28f5b0e4c3f4d99e260..802107e26e98d295af0c08da7411749d770ea501 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 364df99a7f593f73c789489df9fe14ef318caf90..04d3e71da9057e435fee215f4a5238bea6b899cc 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index eee076cbc0f0c611d51b87cacf9d41f2f2cf7e1c..89f9c616400fc97cc14996231477f028c5e7787e 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f37ebfe6674c8e3e93b808f69fc5f502f2fd33e3..4c7f34857c3e903315eb2a4b5e44db4878b47fc9 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 6d4fa5f46bd462e4cebd522262e03c569dc0a895..52ad97f21522264e2c4f08fdd6af481e21f33934 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index b6893156773b222936bca3254193d3842e2eebce..144510b85529744bb9f055b637a22e93425b6852 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index a9134959b2a13fb7ece261493191d20e58d80a6f..956e9f74b29b8186c04ec16861513eb185c6fa4f 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f1c855157204f4aaa11cf2f4a0c84750c48e1ed9..814c61e76567c5a4e1722513fbadfa384043dc44 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 29756502f27446f4332c88cc289388dcc6d09995..1069156d90c83718338903ebae57bd794bb5c461 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 6bde60cf288a1ff6c9e7b9ed61921296a279a41d..954034829ab642b8f98ffa591183c97ed003730a 100644 (file)
@@ -39,7 +39,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 6b88567b3da28b42f6e943a30806c8a8f05d2442..cc645d22c613ebe24904bdd251c20147bad109c7 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c049bb1a125e0f1f9b2c275b6a46f5414c173444..780bdbbccff2f72dbab47e44cfc0892f0148d515 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index ae75f6e442d0172cdbcd16fc3820eca4517534bf..78f9d7335597b59883cbb664a63a2c6681ff8f42 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 458685aef02305d2e6682857628a69b4308faaf9..75ccb76bbc7da0ff754dc8f31849de68edbda319 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 23d8b38c024620648ebf4f728f388bd8fb4c0fd1..849951da4e732d12a2d1b7a0fc4e40273b84f2c5 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 11d3a36b19477bb25946522f05bd1ada67c1f1da..d699d4f163a60576bd5fa9f204a241232c7f2d2d 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f5cd1f14e5cbd7d15c944534d26c90203cd9f237..f2cf4ba64911d126f0607071d3f0e35c33df047d 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 4fdedff64ba71437c2f81d4586e0643dd4dcca1e..99be4240785372282c3d1fcbf530f2917ea58e72 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index e6e99a53268f7364f0c8db8f29e6f73c9d1364fd..45fa683c6ba1d9f58f2e8da7c6447f1c5034ae79 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 196aa8419e2a3e0fbcb518b27b04106435896c50..b4b7e3c0e937d316cf3b2cae9698ff2c0b031740 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f293af824696ce91cb4b36c7f6b9abfd90ff0ae4..4a8c072f12c8d1317be386c945627837c18df7da 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index d1425c9af0e3814af0eeca6c6c97e4ee9fb79b5b..c11a74573b3dae5d7c46fe542529561c17c5bd59 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 
 aProxy = GetActiveSource()
 if aProxy is None:
index befdf6047d8aa274fd6f2307ca4c445ce01ebd55..33623bdb34c395f1600f54dd7f3e28f607f8cb7d 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 
 aProxy = GetActiveSource()
 if aProxy is None:
index b29edbf611c59f5b093ecf80ae2ed4a04f80e396..e4ae70c6f3cac19f6d660cebf494d022901bca88 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 61762e20cdaa5d6a87d632be48a9a6ac8e12a078..e70445c11bb464a0d8f56ba7b227df38e669978c 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 04508af613b0c569df34adf3e3dd5cb201b29691..803bc438eed79a51bdfa862d9031414c067a28bd 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 print "file ", theFileName
 print " --------------------------------- "
 
-myParavis.ImportFile(theFileName)
+OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 1085b0af91822431f4ea868b61af8be069af79c1..0f365d125429e37736ce399d1d28ef8a3facaf78 100644 (file)
@@ -37,7 +37,7 @@ print " --------------------------------- "
 
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c0ebf20d9467ba7cb3c1815516054d14d06edd35..6d4f9f0d7eafc6c2dab12057df4c7df38662014b 100644 (file)
@@ -32,7 +32,7 @@ print "**** Stage1: Importing MED file"
 print 'Import "ResOK_0000.med"...............',
 
 file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 53c3dec074a48fa3c7a7bb8f00d7ff07d27eb596..cf185e417a2fc3813fe6fce2580cbef29aefd48e 100644 (file)
@@ -37,7 +37,7 @@ print " --------------------------------- "
 
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index cace4b1aed8498ebaffcaf3117a40aad9375982d..e8cfb30ad2a89cf16b17a90242fa574ca8b08cfe 100755 (executable)
@@ -33,7 +33,7 @@ print "**** Stage1: Import from MED file in ParaVis"
 print 'Import "Tria3.med"....................',
 
 file_path = datadir + "Tria3.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index dc3ef44f9245f7b8f76382f3f4c3813db9ae6bac..7983aa76a0e76f1dfd954cea52363850e752012b 100644 (file)
@@ -33,7 +33,7 @@ print "**** Stage1: Import from MED file in ParaVis"
 print 'Import "Hexa8.med"....................',
 
 file_path = datadir + "Hexa8.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index a7eb977eb7389621c21aab86ecdccd09726c6744..f04d7c86c135f372fafbcf11c30cc679130befe1 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 3cf23a94e831cc18dbf9cd8c6441108b85812f0d..302f675f2be84a0a72c72515f5af18533efdfc7f 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "hexa_28320_ELEM.med"
 field_name = "pression_elem_dom_pb1"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 31c0d706c8363560a5b36e8370875ec033b3c69a..c503e333ee5955e3d68bd7bdc346bb219b1c42d9 100644 (file)
@@ -40,7 +40,7 @@ field_name = "fieldcelldoublescalar"
 #field_name = "fieldcelldoublevector"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 1a87069054268011a0e33495b2f1ee8ce12e23e5..edcf284c36dfb6e88c10d8565d759020cbd536aa 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Fields_group3D.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 4761844f5bee58f68d2be5830ce00ce27f08e5f1..9ee947e62674b59243e17b552441b3db0189fddf 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Hexa8.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 4240bc39c168c6466e34ba715d86116394c2e9da..2091ac55db25786f7c2de12f7616b3a26ba8bcf7 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Penta6.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 3209aaa51527a1345c690894d28d81fd582abe90..8f8c06a0e83fa6dee8b29965078b2880cb339a46 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Tetra4.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 7a7a817b970ba00fb436378114848b05df658712..302cf745ffc9ff81651a15428501ebd74d1ab826 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Tria3.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 148d906e2405387b9631f0275a1d2e87a954f660..a666a0f3cdc197597862330435c862ee3321c4cc 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "Quad4.med"
 field_name = "scalar field"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 327d2bd702f0a0cc2b4b186c9e10f7d2ef67a996..ad41bed6f9585c8b7a3382a3ae1e4f25cceaf84e 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "carre_en_quad4_seg2_fields.med"
 field_name = "AREA"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 40bf9d4df9a163cea5fc60b261a3b812f9711446..97d56b796cb43ad67943f5f791f68c4fc875aa53 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "cube_hexa8_quad4.med"
 field_name = "fieldcelldouble"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index d5ac2e697144abf0e2cd8a246a00ec9780fdb60f..85026f024067ddbe72e84d9c1c8c5db88b276c45 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "test_55_solid_concentr_dom.med"
 field_name = "RN_precipite_restr"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 1ad5aae0ead0a3dea3e9b2ef65acde3a58f8ba78..d62870a2baac5ea8ead0e60800cc47d4ed1b7039 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "H_COUPLEX1.med"
 field_name = "Head"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 7f8cf44482c2c4f61011ee0b607ccb7a88c8bbe6..d7271a3caf4543bde2a2c3caa2d889f351bddb19 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "cas2_2d_couplage_chess_castem.med"
 field_name = "pH"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 2132c4630e9abf8aaf18d18b3bd2e68a96f8c45b..5f968650e3a760e9cb65ff3c21574583476034f6 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "champc.med"
 field_name = "Am241_restriction"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 8d6e7db4a9b0e8c00c30ec2e5088c5f46b739781..f907dc702a11a07c756afe5e994044058c34d103 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "hydro_sea_alv.med"
 field_name = "Head"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index c3eda7ff3e8367ffbc06c66994d1e96bf46039aa..daae848c04ad7589ce931aadc983bf9911854f67 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "toto.med"
 field_name = "erreur"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index b233dbd15f814c408a8457e04645cdb384346b23..83bd8eebb6d04309ad7f158c858d83129d676973 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "couplex_alain.med"
 field_name = "Conc. I129"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 389f871d6581057c0c9f5be81eaef7d6c74c339e..f8b67fa6551cf3f2bad0777f08bf9dee00d13679 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "KCOUPLEX1.med"
 field_name = "Head"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index a6b872af02bea9cd8d161cd74e9fa35f54750c2c..ac9fa26ae6fa0848cb69a4b2c5dce5e1bc50c52e 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "test_hydro.med"
 field_name = "Head"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index e9f29951150141af7b6267785dfaee454ef6a035..8110090fd52a9b46e6371995b768ed93a308e4fe 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "ml.med"
 field_name = "head_restriction"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 51200612356c2d6806ae270372f18711d3417cbb..aa3b96938af1b90d5aeb05b4da10587dea5c01c5 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "T_COUPLEX1.med"
 field_name = "Conc. I129"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 9cd5fba334718ad5a8d539e0d6161ee1b96a7ac9..fa60f4c3a2eb7d03734ac868232eb9d6a31633b6 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "test_hydro_darcy4_out.med"
 field_name = "DarcyVelocity"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index bbc9915b7b07ab24b851e21aac12cacdbfafde53..64043e8416d2f31414b801b0c14490a5c03d767a 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "UO2_250ans.med"
 field_name = "Concentration_O2(aq)_mol per l"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 060ad8ccd4e534f582926e29b5ea381604a149da..bd12a2f50bb8fcdd8cb488c6a76da7d75849a1b3 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
 field_names = ["REMEUN__ERRE_ELGA_NORE__________", "REMEZEROERRE_ELGA_NORE__________"]
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 95e5e1854b294bee595c11dcd2f0bec057ef5df2..6ecb6c6b4e21214db32cfbf8197eca117786f4e2 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "occ4050.med"
 field_name = "champ_reel"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 750e34f41d29d18fa04ff273749e4179a9304150..9f0aaa9a1d4592a56e5b7451b8446cf41675271a 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
 field_names = ["REMEUN__ERRE_ELGA_NORE__________", "REMEZEROERRE_ELGA_NORE__________"]
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 36aecd8d757283bba17f78823e94fc80ca230f49..21f3f4fbb96709a78f1a4ad22074b01f13906492 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
 field_names = ["REMEUN__ERRE_ELGA_NORE__________", "REMEZEROERRE_ELGA_NORE__________"]
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 22701000deffa9e9a378e1ca0ecf4f6b216e8cec..d49b23166b29ae768dc5a5cad354171ec849bd30 100644 (file)
@@ -40,7 +40,7 @@ field_name = "gravit__VARI_ELGA"
 #timestamp_nb = 1
 timestamp_nb = 6 # timestamp 1 is empty
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 070b8d20c88afb9d0acb197c4abbdaf8310ad72c..1ed5020d4083ddca25dbbea8facd91851b1ee694 100644 (file)
@@ -39,7 +39,7 @@ file_name = datadir + "petit.rmed"
 field_name = "RESPIL__SIEF_ELGA"
 timestamp_nb = -1 # last timestamp
 
-paravis.myParavis.ImportFile(file_name)
+paravis.OpenDataFile(file_name)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError("File wasn't imported!!!")
index 12d0df524b303e703fc1be774f0185fd068bff74..5f13c9299240f22315d6d2aaac0ee86fe23c62b8 100644 (file)
@@ -37,7 +37,7 @@ print " --------------------------------- "
 
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 0b4f7c06bd4949e7726982b0a52f7d71ed5b8b7d..2c87ba4740bdbf633f99ec36d1a64c29028098e9 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 5db834eea5bc25def5c6df0f9fff839c5fb1098d..a3af7098b535020a2812fb5d085d94223cf26915 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 4557f1ce23fc05535f8924bc6a9dc5b4a3d90109..620d2ef1c32a531741feca96794d2bdec0f86b3f 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 3e2ee01bde711e064cde0525ed337e7e1027855c..62f9fa66ae0cfaf2ca132d58d37165120e67ba10 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 324900b0a1aff7de41c9dd541ac0939ec947134e..e19737edced27a71573a4522506ec59a157e32a5 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c6bf5c86f6674db4307baba9af03f1c0c8d884d7..749745ad7bfbcb93bf2fb0ffc46e2d8d8fe2aa29 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 3ce780dd57eaf8d83de962dd258d3ff01d60231d..8035e168bcda7fccbaee18a7d1a001049acb4bbc 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 25e1902ccc3aacd2b98fc0bc6a5a6818aeb12549..4bc6217f1f69eabb2eebfdede23cdc6caeb9919b 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 61db2fafd9bc8bc60ce8abbc11dc6fdcb46f9561..a498965e3bd74422f0e25833cd6b718658be4f72 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index eb89cdf348f1ad089f2b69755fe99d886b454486..404f4b16d84595c8fca7263ca2313358c7e7df68 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 2edccc53cf93ef836ab916b01cf3c31495fd8c93..633af9230150dda8af4ccd44329a5595297dd29d 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 9f50724e164d438000e7f796115ab65e44525d36..6a96a8ce2adb0e37b8a23da6524983a4c52633ff 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 1e0d492f2c098b6c7079aeda8b16d8ca1f0fac20..f3d98a22698395696e72cd49d1573f03d178e9e0 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 9f87c8b3bcae08206d4f56e9e1ed116e81b876c5..156ce9f7038c1f4a76a76aac634ba94c3eefed8c 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 7f0041c9e882305a5af30ed93340ee403679eee1..2fd9a046408c43ca8b3894564f145d6dfa04cddd 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index fa40baaec1d242f633c649a12642d7e69e3cf2d8..bb25aeaf8fdcd5a9044b87bf3eff1feb971d5555 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f6716c6ffcbe21cbb03e9201cb1a8d182e3be9cf..6f510ffb5382217835ebed3c3476aed56ee564b7 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 69b8454785cecefda3ecc62966fc642e0a94059a..ee66a3c5cf64aa0e0d15f82c245070fcc5e6bae2 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index e214a034cefa2a809f84a9117e47af1e6859bd6c..ee6179c5d091013a18ad98b1ccb798a849e2a068 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c85aa0f4878e7dc22c8a19a7d5593196679ae611..ad458957f4ad8dc3edf1965fa60d5eacbf42f0dd 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 72569c2b783c2bb380d7c562813dc891ed1a600f..cc5f03827560008cd5c7330da08dd95148f1f794 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 936505c2274c623520fb4eda57d203bc6a5804d8..23149bb24c4a89425b30baa85596064ca7cf46c4 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 9855ec54a78c1a32661e0050379021cec00b613f..866dee1f2b94741e12dd0608187f0c9d182a1096 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 278d6aa5a36e9342e1aa1294ad120b50057afa04..b64e7579ec11cbb0a86b749a0f6eb6f790b21e13 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 8002b66ee07fce8458fe861c5b679dd96fd94fca..eaf51f8509aec2e21ab1e364e07529a6150475f7 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 3ee41bb6e33f8c81187f13de505cbe582825feb2..6a06075e4a07d1246ac68fecbff62be48d4a4991 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index d83a23fe1f0c4b91b7052bdca834352c9ce0b613..548851521c0b8a0f6a872a165adf1a259014b000 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 308224ebc3f563c3ddf1fa54de2e55d697a2ba4d..940fd2ee54dfdf2c65734434d48497c186c8d0c0 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f111ed5e64a12e58547a3f8835a59d1ea7e26f2f..969c8736236eaab8abca834f120a5f3aeee6f1c7 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 96f8da80a6b427189282d1c29dada9463a81283c..06c16a7be1126275ad422371195335dd26775070 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 051f4335e165967fa38d2d80c74ea670855b0e69..2f6c2b1f27bd515a39c0486e1cee9312cc5a0cd0 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 16f10b03c641f30efbc531ada629ce266c1b1f0d..e3aa50b4ba120df2daf08e35e52570755b324ca8 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 0dc6c940ba16cbb801a544372fae23f6cff00cf8..178478c76d61e2cde35e4519bc1ec78d2eda50bf 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index e8d31c395e0caf158cfa0d18bd6868fc028373e0..e4e31cfded104a4556b73c2c0956ca7cdd721bab 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 575e008ae29ab60841b74401caef0d4c24c25034..dba9fa3db3f197ebca82cc0582b67b1ff664b3cc 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 1175cb77662eb3cfd22bb179767b7081b373e48e..6d3cdf56ab6b19bdfb8b800a8dcb33db4422a25d 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index f32e1ab15db2ea40777517041f6b7d64b2b0633b..5aacfceae551cde5bb66e9d5c568b09694b126d8 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 4f777e1a88066b13cab9dd79f8af6a04772216fe..9d73b0039f19088e6f0f846a98a376e96890bdde 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index be55e208e4647c2a93e4890262d0eb550231c1e1..d0ac30e1215966b3aa59e9d5bea4ac60f71ff90d 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c1b5ec6283a17f414d985b0d388b3a69604d8f80..3857399b6c96657df75d69006cf617ed6019158e 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 19f5a369fdc68776bda97a8a795ad4d454d84f75..8c4dc48ed154bf5755ea4e2cb2daf61dc35322ac 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index c4d58f275beb2e4e079f9aa28c0775506e338977..ad66140617e181bbf5ebb166f080212101c97df2 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 57e3f0af21f189fbe5871cc802d6ef75a1334f76..542a17ec9432c8d44cda501e1d4b40b279bc3c8c 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 7196e960823ca1b9e4ed53353a07e0ca7a5e60f3..2e4cc28069d17bc95177dee370a529ba2886667a 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 3c766937a02d62642667efe50f2b9cfda53c3a54..d7273548fd98436a5b21f0a7c990d07e600f4e38 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 0f4102399a6a461b52ed63cb11ba3eb88d88f7cf..925dcfc7f11d1928f461c56b97bd55c2ce5a1893 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 41663c342ff80dd00f095ad61978642c7fc2c44f..07407a5a8957f99cace171cb80f284ba68413eba 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index dc71a711231455347103c734be6dc602f58b7942..33a9be7c2404e6c7e7dbd9c45aada86156a0c29b 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index b3e09c8dd2169df9f82779c71bb43be2d73f046c..03c7eee2e363c11c54c2a8d850d6b3c97259cdc1 100644 (file)
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index e05f73001c252568745c6c17200c534e9932b786..c5ca5b83558866393cbdedce101aad2b8cbcf634 100755 (executable)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 
 
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 6c7074c7e31f1e23d20fc24e38e1b089ec551856..6e465b72a09303af0da1d69f0bf26383913c00de 100644 (file)
@@ -33,7 +33,7 @@ print "**** Stage1: Importing MED file"
 
 print 'Import "ResOK_0000.med"...............',
 file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
@@ -122,7 +122,7 @@ else:
 
 print 'Import "Fields_group3D.med"...............',
 file_path = datadir + "Fields_group3D.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader1 = pvsimple.GetActiveSource()
 
 if med_reader1 is None:
index 0fb7147aa15a9dea09da476a180ac1b2cd9b5de9..8967a7bd71f46cc42cb9e3f9aefc33426f692d07 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 
 print 'Importing "TimeStamps.med"...............',
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index a98e5bf2c28923108a5f7cfc4e0f2cf7255d4d2a..3b566dc914cbaac5633a92d72da768e19330cad2 100644 (file)
@@ -55,7 +55,7 @@ field_name = "fieldnodedouble"
 entity = EntityType.NODE
 timestamp = 1
 
-my_paravis.ImportFile(med_file)
+OpenDataFile(med_file)
 med_reader = pvsimple.GetActiveSource()
 
 
@@ -256,7 +256,7 @@ field_name = "vitesse"
 entity = EntityType.NODE
 timestamp = 2
 
-my_paravis.ImportFile(med_file)
+OpenDataFile(med_file)
 med_reader = pvsimple.GetActiveSource()
 
 isosurf = IsoSurfacesOnField(med_reader, entity, field_name, timestamp)
index d20b493f6a8a6f6583ddc58105ae6c4d34c113d2..7ce8d8f00020ada59b7ca591671a16db7a3b7a79 100644 (file)
@@ -96,7 +96,7 @@ file_path = datadir + "ResOK_0000.med"
 field_name = 'vitesse'
 node_entity = EntityType.NODE
 
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
@@ -132,7 +132,7 @@ file_path = datadir + "fra.med"
 field_name = 'VITESSE'
 
 pvsimple.SetActiveSource(None)
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 20a0d78f0cbd0832b01295f61e8c14b3f2a08de0..608cf238d4f7eac5856312118675f07581b560ac 100644 (file)
@@ -55,7 +55,7 @@ field_name = "fieldnodedouble"
 entity = EntityType.NODE
 timestamp = 1
 
-my_paravis.ImportFile(med_file)
+OpenDataFile(med_file)
 med_reader = pvsimple.GetActiveSource()
 
 
@@ -288,7 +288,7 @@ field_name = "vitesse"
 entity = EntityType.NODE
 timestamp = 2
 
-my_paravis.ImportFile(med_file)
+OpenDataFile(med_file)
 med_reader = pvsimple.GetActiveSource()
 
 isosurf = IsoSurfacesOnField(med_reader, entity, field_name, timestamp)
index 36843248e2ff5a37a0c0ff4b54f8091fd4e19210..063d1983d0c1ea2e97a76dd418e94bb5eaff427b 100644 (file)
@@ -32,7 +32,7 @@ my_paravis = paravis.myParavis
 
 # Import MED file
 med_file_path = datadir + "pointe.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 1d880ebddb2314097f397ff553add740710de481..2c072eb9a072993469b7a0f9ac1ecd5efac50fa6 100644 (file)
@@ -34,7 +34,7 @@ my_paravis = paravis.myParavis
 # Step 1
 print 'Importing "pointe.med"...............',
 file_path = datadir + "pointe.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 0c6d4180ba35560f0943ea8cef4157bf5f28d7d8..e12f2fd24fc355a37f420f9ed507b6b4d7a0154d 100644 (file)
@@ -36,7 +36,7 @@ field_name = "fieldnodedouble"
 entity = EntityType.NODE
 timestamp = 1
 
-my_paravis.ImportFile(med_file)
+OpenDataFile(med_file)
 med_reader = pvsimple.GetActiveSource()
 
 # Create presentations
index e3527ee990e45159ad1736ef3ef2baec5c8f541e..ca931a26e024c21afeeb50d7223d5e09af216819 100644 (file)
@@ -31,7 +31,7 @@ my_paravis = paravis.myParavis
 
 print 'Importing "fra.med"...',
 file_path = datadir + "fra.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 767f9affc884b99c7bb77f6cd2b8307bbd8aaaad..f76ace3c6a15f220ac1f547e69ba01f5702fc848 100644 (file)
@@ -40,7 +40,7 @@ print " --------------------------------- "
     
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 proxy = GetActiveSource()
 if proxy is None:
        raise RuntimeError, "Error: can't import file."
index 0efbb176275fa7353f98a1aaebfd8486f0882d86..6a4568f2dfbc63bc0956ce7074cfeca4e8638b3c 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 #====================Stage1: Import MED file=========================
 print 'Importing "fra.med"...................',
 medFile = datadir + "fra.med"
-my_paravis.ImportFile(medFile)
+OpenDataFile(medFile)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index ae6feb5254bef8b3951933822153e7c0f5adc741..ec1167dc18a767029c37042940122df7f0506c20 100644 (file)
@@ -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.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     print "FAILED"
index 6bce2f133f85a3d58b3a92794d38708a02057e06..99a29a69dd6f76bb24952442d7b8c69e4c674021 100644 (file)
@@ -36,7 +36,7 @@ picturedir = get_picture_dir("StreamLines/F9")
 # Import of the "Bug829_resu_mode.med" file
 file_path = datadir + "Bug829_resu_mode.med"
 
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index f0f605d13621987b525aa31c560803e7b667dcef..7abe227cc553fd71cb0b54e168ae0d5479721ca0 100644 (file)
@@ -30,7 +30,7 @@ my_paravis = paravis.myParavis
 
 # 1. Import MED file
 file_path = datadir + "new_case.rmed"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError, "new_case.rmed was not imported!!!"
index 8c0c15227bcf55bdfda0b099a6f66fc585f62860..c0868e5ff78ccda29eec60c9b3fb1fcb1badd226 100644 (file)
@@ -34,7 +34,7 @@ print "**** Stage1: Importing MED file"
 
 print 'Import "ResOK_0000.med"...............',
 medFile = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(medFile)
+OpenDataFile(medFile)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 827175e4ac4b75a484ec2f3f06557dc38f48a303..2b1cb107e8be541ba1b9247dfc3fa9dea7c4477c 100644 (file)
@@ -38,7 +38,7 @@ print " --------------------------------- "
 
 """Build presentations of the given types for all fields of the given file."""
 #print "Import %s..." % theFileName.split('/')[-1],
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."
index 5ec74f87e7db80dcb4412677ec7189793eeee57d..31c8377c2a2cefa4626dccbdf9a12b5572878ba3 100644 (file)
@@ -33,7 +33,7 @@ picturedir = get_picture_dir("bugs/A0")
 # 1. Import MED file
 print 'Importing "hydro_sea_alv.med"...',
 file_path = datadir + "hydro_sea_alv.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index d1d5ec5f2215ee13604b09e5c562f54a1768a9cd..bb8500e9db595c3a9e2b18e85d413e4808b45f3f 100644 (file)
@@ -35,7 +35,7 @@ med_file_path = datadir + "fra1.med"
 pic_path = os.path.join(picturedir, "A1." + pictureext)
 
 # 1. Import MED file
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 # 2. Create mesh
index 6506109c12cc8a930b22fe42c0dd5ae58d8b5daf..5332918fb48bb94bcb6b79c575b613356a822a54 100644 (file)
@@ -37,7 +37,7 @@ pic_path = os.path.join(picturedir, "A2." + pictureext)
 print "BREAKPOINT_1"
 # 1. Import MED file
 print 'Importing "carre_MIXTE_0000.med"...',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 0c3f9ce7cadfe67a49a34cfec7d2509c27b3652c..272c8e9229cbee78d2c7033302d2ca264bb7de98 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 
 # 1. Import MED file
 med_file_path = datadir + "hexa_28320_ELEM.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 # 2. Create vectors
index 143b82e4ac7c75cccae1ed2d47bda872472cb763..9a0622e6c221768cc3203405cbf540ed24535d38 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 
 # 1. Import MED file
 med_file_path = datadir + "carre_ELEM_0000.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 # 2. Create vectors
index 647a5c72cf6506d396be9de4f3807a8a3700b597..98271a6e1f9d3ededa7402744e7815a084a8c471 100644 (file)
@@ -39,7 +39,7 @@ if tmp_dir == None:
 save_file = tmp_dir + "/TimeStamps_save.hdf"
 print "Save to file ", save_file
 
-paravis.myParavis.ImportFile(data_file)
+paravis.OpenDataFile(data_file)
 myStudyManager.SaveAs(save_file, myStudy, 0)
 myStudyManager.Close(myStudy)
 openedStudy = myStudyManager.Open(data_file)
index c0f0293469ed21e13be2b770185dc4210299fc7f..e4cd18ad863944d49b497c1a7850117cefdb8362 100644 (file)
@@ -34,7 +34,7 @@ med_file_path = datadir + "fra.med"
 
 # 1. Import MED file
 print 'Importing "fra.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index b5cabfefb75c7ac89d699a34226051509c85ac40..1f10884612b3d016f370181cb4375923ae1257a6 100644 (file)
@@ -37,7 +37,7 @@ print "**** Step1: Importing MED file"
 
 print 'Import "sortie_med_volumique.med"...............',
 file_path = datadir + "sortie_med_volumique_v3.0.6.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 6775e3c4be8c13738fe043cc1e05943ce02aa940..12a3786521120443947930a0bb89c12d2e2b0a8b 100644 (file)
@@ -34,7 +34,7 @@ picturedir = get_picture_dir("bugs/B1")
 med_file_path = datadir + "resultat.01.med"
 
 print 'Importing "resultat.01.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 280a38a02d9bbd37339d6775a8ce5806164215dd..eddb2d0ae8c1ce89d8c97e75ed61ba4e4b82e9de 100644 (file)
@@ -30,7 +30,7 @@ my_paravis = paravis.myParavis
 med_file_path = datadir + "MEDfileForStructuredMesh.med"
 
 print 'Importing "MEDfileForStructuredMesh.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 3a859c538d50b4121f514927515cfb28e98ed712..9a9aea17c3a9b2bb66f33c2dae64727ea0ea3bb9 100644 (file)
@@ -34,7 +34,7 @@ picturedir = get_picture_dir("bugs/C4")
 med_file_path = datadir + "forma01f.resu.med"
 
 print 'Importing "forma01f.resu.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index ba795d498a27a89321f08afc7146b05996d52b87..779023382c6dc009362f7e416536fd616c429485 100644 (file)
@@ -47,7 +47,7 @@ class DisplayManager:
              
     def loadData(self, medFile, meshName=None, myEntity=EntityType.NODE):
         self.medFile  = medFile
-        my_paravis.ImportFile(medFile)
+        OpenDataFile(medFile)
         self.myData   = pvsimple.GetActiveSource()
         self.myEntity = myEntity
         if meshName is not None:
index bb00a535360c773702630279967ce367ddd30391..3451ed1e6e70cc1be6eb9acab7a463a07702d512 100644 (file)
@@ -34,7 +34,7 @@ picturedir = get_picture_dir("bugs/C6")
 med_file_path = datadir + "relachement_brutal_sans_dudg_gauss.med"
 
 print 'Importing "relachement_brutal_sans_dudg_gauss.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index cac11e1444a86091684fb9dcc862746bf92b7562..a8cbb7f775abecdf73c2f2c416f0a9829e9d474e 100644 (file)
@@ -34,7 +34,7 @@ picturedir = get_picture_dir("bugs/C7")
 med_file_path = datadir + "Bug583-Quadratique.resu.med"
 
 print 'Importing "Bug583-Quadratique.resu.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 8519f94e8ecf253a8e7532b67518099d2164b9da..5b73e4c051cbdf980cc7559fb3bb4c45fdb2b076 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 # 1. Import MED file
 med_file_path = datadir + "TimeStamps.med"
 
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 187a2fb9a28d878c704d7bac79f465042f1a4eb8..a65733b242234b2a31e629e34956e0c71c27a78e 100644 (file)
@@ -46,7 +46,7 @@ def get_group_full_name(source, group_name):
 # 1. Import of the "Bug619-result_calcul_OCC.med" file
 med_file_path = datadir + "Bug619-result_calcul_OCC.med"
 
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index d7d724774aaa3ec59b4b2d35c12b9df5c029e94a..14c0631f76914aba99dbca82573adde6ccee8513 100644 (file)
@@ -32,7 +32,7 @@ picturedir = get_picture_dir("bugs/D1")
 
 # 1. Import of the "Bug829_resu_mode.med" file at first time
 med_file_path = datadir + "Bug829_resu_mode.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader1 = pvsimple.GetActiveSource()
 if med_reader1 is None:
     raise RuntimeError, "Bug829_resu_mode.med was not imported!!!"
@@ -60,7 +60,7 @@ if abs(max(sizes)-min(sizes)) > 0.01*max(sizes):
     raise RuntimeError
 
 # 3. Import of the "Bug829_resu_mode.med" file at second time
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader2 = pvsimple.GetActiveSource()
 if med_reader2 is None:
     raise RuntimeError, "Bug829_resu_mode.med was not imported second time!!!"
index fa3339be78594fafc3b44020f14726233f6b9927..20882ad57305c6a49c44393328b8c784aec25191 100644 (file)
@@ -28,7 +28,7 @@ my_paravis = paravis.myParavis
 
 # 1. Import of the "LinearStaticsSTA9.resu.med" file
 med_file_path = datadir + "LinearStaticsSTA9.resu.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError, "LinearStaticsSTA9.resu.med was not imported!!!"
index d3cd983f0893be17b3a0b0a5ee183093eac91a39..590aeafc70ac57aeee0e61b97540d05177a45920 100644 (file)
@@ -29,7 +29,7 @@ my_paravis = paravis.myParavis
 # 1. Import MED file
 med_file_path = datadir + "fra.med"
 
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 # 2. Creation of CutSegment presentations, based on time stamps of "VITESSE" field
index 84224a1898b09f46c7a3a27bc105f687a254194c..b7336046f3454ee607ae93cafe637bd5be64c688 100644 (file)
@@ -32,7 +32,7 @@ my_paravis = paravis.myParavis
 print 'Importing "Fields_group3D.med"........',
 
 med_file_path = datadir + "Fields_group3D.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     print "FAILED"
index c45711de516f8ecbf12bf7640bae40d15106265b..69789d9bdec3735d1c4c961e9066ec7c674808d3 100644 (file)
@@ -31,7 +31,7 @@ my_paravis = paravis.myParavis
 # 1. MED file import
 print 'Import "ResOK_0000.med"...............',
 med_file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError, "ResOK_0000.med was not imported!!!"
index 1cd8be2c1853088e2e04061cac6baa15bdedb963..81604aefddeb483239b65fddfb8afc91e0d364ac 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index c25481ae0277251abe0f0af905c1e20fa6022809..63c29c0ebc11c9b576b4c6257152b5bfbbcf734b 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index 6ba7889866a215b7eee93885cf2fc7fd89cf1b3c..1452218de8a5a4da7b685d37b7de3ab1d272d6d6 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index f6352ddb63b3f47e08e6a6a9c9a3b09e58f4a0f3..a7b11e38c68a99f93773d3bf3940093ae95698ca 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index 9d430856a0b08bc9f9739efd7e9fb0fbf820eaae..5a80476c5271dbc128e6a0179e4b667576f5198c 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 1), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index 4a5d8d3899aaca7744cc16e787c28d576364085e..3f917b24f743a3c0aacf5a3f4310854744d9186e 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "fra.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index f19c091ae5584b94410e778e23d5830c51357878..1cc948833f47838f53a5e3f5bfe9edc67ae34045 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None:
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index 24baf41c6a704b4fb2d5aafc3e0bab272dd2a2b8..3ca48721d7d505bfad39de25b129369cc363efc0 100644 (file)
@@ -46,7 +46,7 @@ errors = 0
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index a2b7d891b7e6901eb61bc3c6b4db3cc6beb3abab..b15d7be9f47308933581607e4fcf31ea6ee28eff 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index b02eb79a77d4dfec04b49684bc660e3bb575736a..a383f189ffec9c1eec6b5743184ad043ab62a718 100644 (file)
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index fe7b971d5085dfd58e407fca9243734d2c281eed..2d26d4971aa8c5e451c3b73146fad280b7f761d4 100644 (file)
@@ -28,7 +28,7 @@ my_paravis = paravis.myParavis
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."
index 40d50cc963078dd3a37713f5d2f5266e302768ed..3868bf83b43de0d1bee9d510670978683f706029 100644 (file)
@@ -59,7 +59,7 @@ def set_prs_colored(prs, proxy, entity, field_name, vector_mode, timestamp_nb):
 # 1. Import of the "Penta6.med" file
 print 'Import "Penta6.med" file........',
 file_path = datadir + "Penta6.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 if med_reader is None:
     raise RuntimeError, "Penta6.med was not imported!!!"
index 446923617e886661e94c5ef8e5694074bda847b3..684d8325f979debbd4719a2477e8e4641e0a50aa 100644 (file)
@@ -36,7 +36,7 @@ timestamp = 1
 # 1. Import MED file
 print 'Import "pointe.med"....................',
 med_file_path = datadir + med_file
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index c0b3d9784c8bc28072b843a5ee8fd5dbc741a084..174068551af63c77fb9149c2df06c18188845f6e 100644 (file)
@@ -29,7 +29,7 @@ error =0
 
 # Import MED file
 file_path = datadir + "fra.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index a7c8cbbd79420532c50bf3982f0dda7c1d50fa77..b717a8035a681fa7a75f554c76cd26e7a2b7cc98 100644 (file)
@@ -29,7 +29,7 @@ error = 0
 
 # Import MED file
 med_file_path = datadir + "fra.med"
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 0ae595ed50be3749c59a2cc6b055f8ccffa9db5b..0d16c46942de69c456d439b5af08f8bd1dcb849b 100644 (file)
@@ -29,7 +29,7 @@ error =0
 
 # Import MED file
 file_path = datadir + "Bug891_Box.resu.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 956881d0cac6835e12505fb1a34059b7ddcb076a..386561707f7bacca4bb36f61e86b81f6f1f0492a 100644 (file)
@@ -28,7 +28,7 @@ my_paravis = paravis.myParavis
 
 # Import MED file
 file_path = datadir + "fra.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 entity = EntityType.NODE
index be8f3da67151739f0a18c1db9f2e6f9463926ffb..f053b1f8f255cce5bfaef15e84af091f63805cf6 100644 (file)
@@ -30,7 +30,7 @@ my_paravis = paravis.myParavis
 print 'Import "ResOK_0000.med"...............',
 
 file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 61b1a8cb94d40470cff357f46190b6e17acc7cd9..8e4e714753e3fda82af652b93ab38946dff52acc 100644 (file)
@@ -31,7 +31,7 @@ print "**** Step1: Import MED file"
 
 print 'Import "ResOK_0000.med"...',
 file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
@@ -108,7 +108,7 @@ print "**** Step3: Import another MED file"
 
 print 'Import "Fields_group3D.med"...............',
 file_path = datadir + "Fields_group3D.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader1 = pvsimple.GetActiveSource()
 
 if med_reader1 is None:
index a36aeb335301d628a847e76fd34cc7fa7ca37dc9..4c31a36cd0a8dd12089e20cb7e5c4144ea4b84f6 100644 (file)
@@ -35,7 +35,7 @@ print "**** Step1: Import MED file"
 
 print 'Import "fra.med"....................',
 file_path = datadir + "fra.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 3a0b40069c3cb407422bf0dbd6f970039ea9fc24..ea228f82d77473492eb152f5907e4124ccf7c796 100644 (file)
@@ -34,7 +34,7 @@ print "**** Step1: Import MED file"
 
 print 'Import "Hexa8.med"....................',
 file_path = datadir + "Hexa8.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader1 = pvsimple.GetActiveSource()
 
 if med_reader1 is None:
@@ -116,7 +116,7 @@ hide_all(view)
 print 'Importing file "cube_hexa8_quad4.med".',
 file_path = datadir + "cube_hexa8_quad4.med"
 mesh_name2 = 'CUBE_EN_HEXA8_QUAD4'
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader2 = pvsimple.GetActiveSource()
 
 if med_reader2 is None:
@@ -160,7 +160,7 @@ hide_all(view)
 
 print 'Importing file "Penta6.med"...........',
 file_path = datadir + "Penta6.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader3 = pvsimple.GetActiveSource()
 
 if med_reader3 is None:
@@ -221,7 +221,7 @@ hide_all(view)
 
 print 'Importing "Quad4.med".................',
 file_path = datadir + "Quad4.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader4 = pvsimple.GetActiveSource()
 
 if med_reader4 is None:
@@ -269,7 +269,7 @@ print "OK"
 
 print 'Importing "Tetra4.med"................',
 file_path = datadir + "Tetra4.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader5 = pvsimple.GetActiveSource()
 
 if med_reader5 is None:
@@ -305,7 +305,7 @@ print "OK"
 
 print 'Importing "Tria3.med".................',
 file_path = datadir + "Tria3.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader6 = pvsimple.GetActiveSource()
 
 if med_reader6 is None:
index 7219b03ff7f0dd0a02edc3d195ab39843aeeeef4..e61d66e278a590bc931498de66ce46ed7558dc64 100644 (file)
@@ -34,7 +34,7 @@ print "**** Step1: Import MED file"
 
 print 'Import "ResOK_0000.med"...............',
 file_path = datadir + "ResOK_0000.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
index 8bbee4d1041144edbd1564fa05250dd0d6ae65d7..1a6c7c57585c6edd1b6763ccd27d335ddaae13d5 100644 (file)
@@ -30,7 +30,7 @@ error=0
 
 # 1. Import MED file
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None: