From 80685c230f8cca3fa7b60d5a4c32fa7feffba496 Mon Sep 17 00:00:00 2001
From: Michael Boniface <m.j.boniface@soton.ac.uk>
Date: Mon, 17 Feb 2025 19:37:15 +0000
Subject: [PATCH] tested with remote repo in github and gitlab soton

---
 phen.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/phen.py b/phen.py
index 216a73a..7af3ebc 100644
--- a/phen.py
+++ b/phen.py
@@ -82,8 +82,6 @@ def init(phen_dir, remote_url):
 			phen_path.mkdir(parents=True, exist_ok=True) 
 			print(f"Phen directory '{phen_path}' has been created.")
 			repo = git.Repo.init(phen_path)
-			#repo.create_tag(initial_version, message=f"Release {initial_version}")		
-			
 
 		# check if the phen path has already been configured which would be the case for remote clones
 		config_path = phen_path / CONFIG_FILE
@@ -100,7 +98,7 @@ def init(phen_dir, remote_url):
 			keep_path = output_path / '.gitkeep'
 			keep_path.touch(exist_ok=True)		
 			# create empty config file
-			initial_version = "v1.0.1"
+			initial_version = "v1.0.0"
 			config = {
 				"concept_sets": {
 					"version": initial_version,
@@ -126,6 +124,7 @@ def init(phen_dir, remote_url):
 			repo.git.add(all=True)
 			msg = "Initialized phen git repo."				
 			repo.index.commit(msg)
+			#repo.create_tag(initial_version, message=f"Release {initial_version}")					
 			print(msg)
 		else:
 			print(f"Phenotype configuration files already exist")
-- 
GitLab