Releases: digital-science/dimcli
Releases · digital-science/dimcli
v1.3
- Function
extract_affiliations
return an extra column with the input string (for unstructured data only) - see also https://docs.dimensions.ai/dsl/functions.html#function-extract-affiliations
v1.2
- Updated DSL grammar for DSL V2.8
- New utility function: utils.explode_nested_repeated_field
v1.1
Improve query_iterative
so to included warning messages linked to specific iterations.
v1.0.2
v0.9.9.1
v 0.9.9
v 0.9.9
This release primarily improves the hyperlinked tables feature for Jupyter environments.
- Test suite for magic commands
- Improvements to the
--nice
and--links
rendering of dataframes within the%%dsldf
magic command- When using hyperlinks, drop IDs if title is present
- Return affiliations as a list with GRID links
- Generic 'default_transform' method for extra column not in transformations
- New parameters for DslDataset.as_dataframe() method allow calling the 'nice' and 'links' renderers without a magic command
v0.9.8
- Fix bug with df_grant_investigators_affiliations methods
dim_utils.dimensions_styler
: format the text display value of a dataframe by including Dimensions hyperlinks whenever possible.dim_utils.converters
: JSON converters utils allow to pass a dataframe and get back an altered version of it where complex structures are transformed into list of comma separated values.- Magic commands: refactoring of line/cell operations
- Variable name can be passed to save data
--links
parameter: makes resulting dataframe table interactive--nice
parameter: convert struct to strings for easier reading and exportdsldocs
can be used as a cell command too
v0.9.7.2
- Fix error preventing to
pip install
dimcli on Windows platforms
ERROR: Could not install packages due to an OSError.
Traceback (most recent call last):
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\commands\install.py", line 405, in run
installed = install_given_reqs(
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\req\__init__.py", line 73, in install_given_reqs
requirement.install(
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\req\req_install.py", line 769, in install
install_wheel(
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\operations\install\wheel.py", line 729, in install_wheel
_install_wheel(
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\operations\install\wheel.py", line 589, in _install_wheel
file.save()
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\operations\install\wheel.py", line 373, in save
ensure_dir(parent_dir)
File "C:\Users\joe\.virtualenvs\dimcli-err-JoHJoTCM\lib\site-packages\pip\_internal\utils\misc.py", line 101, in ensure_dir
os.makedirs(path)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\lib\os.py", line 225, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\joe\\.virtualenvs\\dimcli-err-JoHJoTCM\\*'
v0.9.7.1
Fix minor import error prevent Dimcli to run correctly
v 0.9.7
- Fix compatibility issues with DSL V2
- Grants field:
investigators_details
=>investigators
- Grants field:
- Added DSL grammar for DSL V2.1