Skip to content

Commit

Permalink
small fixes in python and setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Mar 1, 2024
1 parent 66b83a2 commit 9385d06
Show file tree
Hide file tree
Showing 26 changed files with 46 additions and 29 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and __JavaScript__! ❤️
```

```bash
<PackageReference Include="ARCtrl" Version="1.0.0-beta.1" />
<PackageReference Include="ARCtrl" Version="1.1.0" />
```

### JavaScript
Expand All @@ -44,10 +44,27 @@ Currently we provide some documentation in form of markdown files in the `/docs`
- verify with `npm --version` (Tested with v9.2.0)
- [.NET SDK](https://dotnet.microsoft.com/en-us/download)
- verify with `dotnet --version` (Tested with 7.0.306)
- [Python](https://www.python.org/downloads/)
- verify with `py --version` (Tested with 3.12.2)

### Local Setup

1. `dotnet tool restore`
3. `npm install`
1. Setup dotnet tools

`dotnet tool restore`

2. Install NPM dependencies

`npm install`

3. Setup python environment

`py -m venv .venv`

4. Install [Poetry](https://python-poetry.org/) and dependencies

1. `.\.venv\Scripts\python.exe -m pip install -U pip setuptools`
2. `.\.venv\Scripts\python.exe -m pip install poetry`
3. `.\.venv\Scripts\python.exe -m poetry install --no-root`

Verify correct setup with `./build.cmd runtests`
46 changes: 23 additions & 23 deletions src/ISA/ISA.Json/ARCtrl.ISA.Json.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="context/ro-crate/isa_assay_context.fs" />
<Compile Include="context/ro-crate/isa_comment_context.fs" />
<Compile Include="context/ro-crate/isa_component_context.fs" />
<Compile Include="context/ro-crate/isa_data_context.fs" />
<Compile Include="context/ro-crate/isa_factor_context.fs" />
<Compile Include="context/ro-crate/isa_factor_value_context.fs" />
<Compile Include="context/ro-crate/isa_investigation_context.fs" />
<Compile Include="context/ro-crate/isa_material_attribute_context.fs" />
<Compile Include="context/ro-crate/isa_material_attribute_value_context.fs" />
<Compile Include="context/ro-crate/isa_material_context.fs" />
<Compile Include="context/ro-crate/isa_ontology_annotation_context.fs" />
<Compile Include="context/ro-crate/isa_ontology_source_reference_context.fs" />
<Compile Include="context/ro-crate/isa_organization_context.fs" />
<Compile Include="context/ro-crate/isa_person_context.fs" />
<Compile Include="context/ro-crate/isa_process_context.fs" />
<Compile Include="context/ro-crate/isa_process_parameter_value_context.fs" />
<Compile Include="context/ro-crate/isa_protocol_context.fs" />
<Compile Include="context/ro-crate/isa_protocol_parameter_context.fs" />
<Compile Include="context/ro-crate/isa_publication_context.fs" />
<Compile Include="context/ro-crate/isa_sample_context.fs" />
<Compile Include="context/ro-crate/isa_source_context.fs" />
<Compile Include="context/ro-crate/isa_study_context.fs" />
<Compile Include="context/ro-crate/rocrate_context.fs" />
<Compile Include="context\rocrate\isa_assay_context.fs" />
<Compile Include="context\rocrate\isa_comment_context.fs" />
<Compile Include="context\rocrate\isa_component_context.fs" />
<Compile Include="context\rocrate\isa_data_context.fs" />
<Compile Include="context\rocrate\isa_factor_context.fs" />
<Compile Include="context\rocrate\isa_factor_value_context.fs" />
<Compile Include="context\rocrate\isa_investigation_context.fs" />
<Compile Include="context\rocrate\isa_material_attribute_context.fs" />
<Compile Include="context\rocrate\isa_material_attribute_value_context.fs" />
<Compile Include="context\rocrate\isa_material_context.fs" />
<Compile Include="context\rocrate\isa_ontology_annotation_context.fs" />
<Compile Include="context\rocrate\isa_ontology_source_reference_context.fs" />
<Compile Include="context\rocrate\isa_organization_context.fs" />
<Compile Include="context\rocrate\isa_person_context.fs" />
<Compile Include="context\rocrate\isa_process_context.fs" />
<Compile Include="context\rocrate\isa_process_parameter_value_context.fs" />
<Compile Include="context\rocrate\isa_protocol_context.fs" />
<Compile Include="context\rocrate\isa_protocol_parameter_context.fs" />
<Compile Include="context\rocrate\isa_publication_context.fs" />
<Compile Include="context\rocrate\isa_sample_context.fs" />
<Compile Include="context\rocrate\isa_source_context.fs" />
<Compile Include="context\rocrate\isa_study_context.fs" />
<Compile Include="context\rocrate\rocrate_context.fs" />
<Compile Include="ConverterOptions.fs" />
<Compile Include="Decode.fs" />
<Compile Include="GEncode.fs" />
Expand Down
6 changes: 3 additions & 3 deletions tests/ISA/ISA.Json.Tests/Json.Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ let testInvestigationFile =
Publication.make
(Some "12345678")
(Some "11.1111/abcdef123456789")
(Some "Lukas Weil, Other Gzúy")
(Some "Lukas Weil, Other Gzuy") // (Some "Lukas Weil, Other Gzúy")
(Some "Fair is great")
(Some publicationStatus)
(Some [|comment|])
Expand Down Expand Up @@ -1708,7 +1708,7 @@ let testInvestigationFileLD =
Publication.make
(Some "12345678")
(Some "11.1111/abcdef123456789")
(Some "Lukas Weil, Other Gzúy")
(Some "Lukas Weil, Other Gzuy") // (Some "Lukas Weil, Other Gzúy")
(Some "Fair is great")
(Some publicationStatus)
(Some [|comment|])
Expand Down Expand Up @@ -2051,7 +2051,7 @@ let testInvestigationFileLD =
Publication.make
(Some "12345678")
(Some "11.1111/abcdef123456789")
(Some "Lukas Weil, Other Gzúy")
(Some "Lukas Weil, Other Gzuy") // (Some "Lukas Weil, Other Gzúy")
(Some "Fair is great")
(Some publicationStatus)
(Some [|comment|])
Expand Down

0 comments on commit 9385d06

Please sign in to comment.