msasim 24.7.0__tar.gz → 24.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of msasim might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: msasim
3
- Version: 24.7.0
3
+ Version: 24.8.0
4
4
  Summary: A fast MSA simulator
5
5
  Home-page: https://github.com/elyawy/Sailfish-backend
6
6
  Author: Elya Wygoda
@@ -5,14 +5,6 @@ from typing import List, Optional, Dict
5
5
  from re import split
6
6
  from enum import Enum
7
7
 
8
- # print(_Sailfish.Tree)
9
- # print(_Sailfish.Simulator)
10
- # print(_Sailfish.SimProtocol)
11
- # print(_Sailfish.Msa)
12
- # print(_Sailfish.DiscreteDistribution)
13
- # print(_Sailfish.modelFactory)
14
- # print(_Sailfish.alphabetCode)
15
- # print(_Sailfish.modelCode)
16
8
 
17
9
 
18
10
  MODEL_CODES = _Sailfish.modelCode
@@ -390,7 +382,7 @@ class Msa:
390
382
  return self._msa.print_indels()
391
383
 
392
384
  def get_msa(self) -> str:
393
- return self._msa.get_msa()
385
+ return self._msa.get_msa_string()
394
386
 
395
387
  def write_msa(self, file_path) -> None:
396
388
  self._msa.write_msa(file_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: msasim
3
- Version: 24.7.0
3
+ Version: 24.8.0
4
4
  Summary: A fast MSA simulator
5
5
  Home-page: https://github.com/elyawy/Sailfish-backend
6
6
  Author: Elya Wygoda
@@ -21,13 +21,15 @@ before-all = [
21
21
  "cp libPhylolib.* ../",
22
22
  ]
23
23
 
24
+
24
25
  [tool.cibuildwheel.windows]
25
26
  before-all = [
26
27
  "cd libs/Phylolib",
27
28
  "cmake -DCMAKE_BUILD_TYPE=Release .",
28
- "cmake --build . --config Release",
29
+ "cmake --build . --config Release --verbose",
29
30
  "ls .",
30
31
  "cp Release/Phylolib.lib ../",
32
+ "ls ./Release/",
31
33
  ]
32
34
 
33
35
  [tool.cibuildwheel.macos]
@@ -8,6 +8,7 @@ from datetime import datetime
8
8
 
9
9
  now = datetime.now()
10
10
 
11
+
11
12
  __version__ = f"{now.year % 100}.{now.month+1}.0"
12
13
 
13
14
  # The main interface is through Pybind11Extension.
@@ -149,6 +149,7 @@ PYBIND11_MODULE(_Sailfish, m) {
149
149
  .def("print_msa", &MSA::printFullMsa)
150
150
  .def("print_indels", &MSA::printIndels)
151
151
  .def("write_msa", &MSA::writeFullMsa)
152
+ .def("get_msa_string", &MSA::generateMsaString)
152
153
  .def("get_msa", &MSA::getMSAVec);
153
154
 
154
155
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes