Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace (unmaintained) orderedset with ordered_set #1020

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libtbx/auto_build/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2114,13 +2114,13 @@ def add_base(self, extra_opts=[]):
self.skip_base = "hdf5,lz4_plugin,py2app,wxpython,docutils,pyopengl,pillow,tiff," + \
"cairo,fonts,render,fontconfig,pixman,png,sphinx,freetype,gtk,matplotlib," + \
"cython,h5py,gettext,numpy,pythonextra,pytest,junitxml,libsvm,pyrtf,six,send2trash," + \
"jinja2,orderedset,tabulate,scipy,scikit_learn,biopython,expat,glib,mrcfile"
"jinja2,ordered_set,tabulate,scipy,scikit_learn,biopython,expat,glib,mrcfile"
else:
self.skip_base = ','.join(self.skip_base.split(',') + ['hdf5','lz4_plugin','py2app',
'wxpython','docutils','pyopengl','pillow','tiff','cairo','fonts','pyrtf','six','send2trash',
'fontconfig','render','pixman','png','sphinx','freetype','gtk', 'matplotlib',
'cython', 'h5py', 'gettext', 'numpy', 'pythonextra', 'pytest', 'junitxml','libsvm',
'jinja2', 'orderedset', 'tabulate', 'scipy', 'scikit_learn', 'biopython',
'jinja2', 'ordered_set', 'tabulate', 'scipy', 'scikit_learn', 'biopython',
'expat', 'glib', 'mrcfile'
])
super(PhaserBuilder, self).add_base(
Expand Down
8 changes: 4 additions & 4 deletions libtbx/auto_build/install_base_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def configure_packages(self, options):
if options.dials:
options.build_gui = True
options.build_all = True
packages += ['pillow', 'jinja2', 'orderedset', 'scipy', 'scikit_learn', 'tqdm', 'msgpack']
packages += ['pillow', 'jinja2', 'ordered_set', 'scipy', 'scikit_learn', 'tqdm', 'msgpack']
if options.xia2:
options.build_gui = True
options.build_all = True
Expand Down Expand Up @@ -727,7 +727,7 @@ def build_dependencies(self, packages=None):
'misc',
'lz4_plugin',
'jinja2',
'orderedset',
'ordered_set',
'tqdm',
'tabulate',
'psutil',
Expand Down Expand Up @@ -1165,8 +1165,8 @@ def build_jinja2(self):

def build_orderedset(self):
self.build_python_module_pip(
'orderedset', package_version=ORDEREDSET_VERSION,
confirm_import_module='orderedset')
'ordered_set', package_version=ORDEREDSET_VERSION,
confirm_import_module='ordered_set')

def build_tqdm(self):
self.build_python_module_pip('tqdm', package_version=TQDM_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion xfel/conda_envs/psana_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies:
- msgpack-python
- msgpack-c
- msgpack-cxx
- orderedset
- ordered_set
- python-blosc
- scikit-learn
- tqdm
Expand Down
2 changes: 1 addition & 1 deletion xfel/merging/application/input/file_lister.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from six.moves import UserDict

import numpy as np
from orderedset import OrderedSet
from ordered_set import OrderedSet


class StemLocator(UserDict):
Expand Down
2 changes: 1 addition & 1 deletion xfel/merging/application/modify/aux_cosym.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from libtbx import easy_mp, Auto
from scipy import sparse
import numpy as np
from orderedset import OrderedSet
from ordered_set import OrderedSet
import copy

# Specialization, run only a subset of cosym steps and include plot
Expand Down
Loading