File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from . import tools as tl
1313from .models import *
1414
15- # __version__ = version("scMagnify")
16- __version__ = "0.0.0"
15+ __version__ = version ("scmagnify" )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def __repr__(self) -> str:
3434
3535
3636def get_latest_version (
37- url = "https://raw.githubusercontent.com/your-username/your-repo /main/pyproject.toml" ,
37+ url = "https://raw.githubusercontent.com/LiHongCSBLab/scMagnify /main/pyproject.toml" ,
3838 timeout = 5 ,
3939) -> str | None :
4040 """Fetch the latest package version from a remote pyproject.toml file."""
@@ -159,8 +159,8 @@ def _get_info() -> dict[str, dict]:
159159 # Repository URL
160160 info ["repo_url" ] = {
161161 "title" : "Repository" ,
162- "message" : "https://github.com/your-username/your-repo " ,
163- "value" : "https://github.com/your-username/your-repo " ,
162+ "message" : "https://github.com/LiHongCSBLab/scMagnify/ " ,
163+ "value" : "https://github.com/LiHongCSBLab/scMagnify/ " ,
164164 }
165165
166166 return info
@@ -181,7 +181,7 @@ def info():
181181 from IPython .display import HTML , display
182182
183183 # Load logo
184- logo_path = files ("scmagnify" ).joinpath ("data /logo_min.png" )
184+ logo_path = files ("scmagnify" ).joinpath (". /logo_min.png" )
185185 try :
186186 with open (logo_path , "rb" ) as f :
187187 img_bytes = f .read ()
You can’t perform that action at this time.
0 commit comments