[med-svn] [Git][med-team/hhsuite][repro] Do not print date stamp

Nilesh Patra gitlab at salsa.debian.org
Fri Feb 19 20:32:08 GMT 2021



Nilesh Patra pushed to branch repro at Debian Med / hhsuite


Commits:
8e010828 by Nilesh Patra at 2021-02-20T02:01:34+05:30
Do not print date stamp

- - - - -


1 changed file:

- debian/patches/fix


Changes:

=====================================
debian/patches/fix
=====================================
@@ -1,20 +1,25 @@
 --- a/src/hhhitlist.cpp
 +++ b/src/hhhitlist.cpp
-@@ -26,7 +26,17 @@
+@@ -25,10 +25,8 @@
+   out << "Searched_HMMs " << N_searched << std::endl;
  
    // Print date stamp
-   time_t* tp = new time_t;
-+  char *source_date_epoch = std::getenv("SOURCE_DATE_EPOCH");
-+  if (source_date_epoch) {
-+    std::istringstream iss(source_date_epoch);
-+    iss >> *tp;
-+    if (iss.fail() || !iss.eof()) {
-+      std::cerr << "Error: Cannot parse SOURCE_DATE_EPOCH as integer\n";
-+      exit(27);
-+    }
-+  } else {
-   *tp = time(NULL);
-+  }
- 
-   out << "Date          " << ctime(tp);
+-  time_t* tp = new time_t;
+-  *tp = time(NULL);
+-
+-  out << "Date          " << ctime(tp);
++  
++  //out << "Date          " << ctime(tp);
    delete (tp);
+ 
+   // Print command line
+--- a/data/query.hhr
++++ b/data/query.hhr
+@@ -3,7 +3,6 @@
+ No_of_seqs    1 out of 1
+ Neff          1.0 
+ Searched_HMMs 1000
+-Date          Fri Jul 26 12:18:42 2013
+ Command       ./hhblits -i ../data/query.seq -d /home/meiermark/databases/uniprot20_2013_03/uniprot20_2013_03 -cpu 4 -n 1 -usecs -scores ./test.scores 
+ 
+  No Hit                             Prob E-value P-value  Score    SS Cols Query HMM  Template HMM



View it on GitLab: https://salsa.debian.org/med-team/hhsuite/-/commit/8e0108288fd9e6bce034254e5f48fb0094db4c89

-- 
View it on GitLab: https://salsa.debian.org/med-team/hhsuite/-/commit/8e0108288fd9e6bce034254e5f48fb0094db4c89
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210219/68f897de/attachment-0001.html>


More information about the debian-med-commit mailing list