File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
test_files/atomate/.circleci/images/py3 Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 36
36
py3devtest :
37
37
working_directory : ~/atomate
38
38
docker :
39
+ - image : materialsvirtuallab/circle-ci-pmg-py3:3.7.3
39
40
- image : circleci/mongo:latest
40
41
steps :
41
42
- checkout
Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ def test_mongodb_more_files(self):
157
157
self .assertListEqual (load_dict ["output" ]["chargespilling" ], [0.008 , 0.008 ])
158
158
db = self .get_task_database ()
159
159
gfs = gridfs .GridFS (db , "lobster_files" )
160
- results = gfs .find ({}). count ()
161
- self .assertEqual (results , 2 )
160
+ results = gfs .find ({})
161
+ self .assertEqual (len ( list ( results )) , 2 )
162
162
for fn in ["ICOHPLIST" , "COOPCAR" ]:
163
163
oid = load_dict [fn .lower () + "_id" ]
164
- results = gfs .find ({"_id" : oid }). count ()
165
- self .assertEqual (results , 1 )
164
+ results = gfs .find ({"_id" : oid })
165
+ self .assertEqual (len ( list ( results )) , 1 )
166
166
167
167
def test_jsonfile_si (self ):
168
168
copy_r (self .vasp_si_dir , "." )
Original file line number Diff line number Diff line change 1
- FROM python:3.6.4
1
+ FROM python:3.7.3
2
2
3
3
RUN apt-get update && apt-get install -y gfortran python-openbabel python-vtk python3-tk
4
4
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
5
5
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
6
- RUN export PATH=$HOME/miniconda3/bin:$PATH
6
+ RUN export PATH=$HOME/miniconda3/bin:$PATH
You can’t perform that action at this time.
0 commit comments