0.0.131
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| [metadata] | ||||
| # replace with your username: | ||||
| name = guan | ||||
| version = 0.0.130 | ||||
| version = 0.0.131 | ||||
| author = guanjihuan | ||||
| author_email = guanjihuan@163.com | ||||
| description = An open source python package | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| Metadata-Version: 2.1 | ||||
| Name: guan | ||||
| Version: 0.0.130 | ||||
| Version: 0.0.131 | ||||
| Summary: An open source python package | ||||
| Home-page: https://py.guanjihuan.com | ||||
| Author: guanjihuan | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| # With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing. | ||||
|  | ||||
| # The current version is guan-0.0.130, updated on September 08, 2022. | ||||
| # The current version is guan-0.0.131, updated on September 08, 2022. | ||||
|  | ||||
| # Installation: pip install --upgrade guan | ||||
|  | ||||
| @@ -2564,6 +2564,7 @@ def write_file_list_in_markdown(directory, filename='a', reverse_positive_or_neg | ||||
|             for filename2 in filenames2[::reverse_positive_or_negative]: | ||||
|                 filename2_with_path = os.path.join(directory, filename1, filename2)  | ||||
|                 if os.path.isfile(filename2_with_path): | ||||
|                     if os.path.splitext(filename2)[1] not in banned_type: | ||||
|                         if hide_file_type == None: | ||||
|                             f.write('+ '+str(filename2)+'\n') | ||||
|                         else: | ||||
| @@ -2582,6 +2583,7 @@ def write_file_list_in_markdown(directory, filename='a', reverse_positive_or_neg | ||||
|                     for filename3 in filenames3[::reverse_positive_or_negative]: | ||||
|                         filename3_with_path = os.path.join(directory, filename1, filename2, filename3)  | ||||
|                         if os.path.isfile(filename3_with_path):  | ||||
|                             if os.path.splitext(filename3)[1] not in banned_type: | ||||
|                                 if hide_file_type == None: | ||||
|                                     f.write('+ '+str(filename3)+'\n') | ||||
|                                 else: | ||||
| @@ -2599,6 +2601,7 @@ def write_file_list_in_markdown(directory, filename='a', reverse_positive_or_neg | ||||
|                             for filename4 in filenames4[::reverse_positive_or_negative]: | ||||
|                                 filename4_with_path = os.path.join(directory, filename1, filename2, filename3, filename4)  | ||||
|                                 if os.path.isfile(filename4_with_path): | ||||
|                                     if os.path.splitext(filename4)[1] not in banned_type: | ||||
|                                         if hide_file_type == None: | ||||
|                                             f.write('+ '+str(filename4)+'\n') | ||||
|                                         else: | ||||
| @@ -2612,6 +2615,7 @@ def write_file_list_in_markdown(directory, filename='a', reverse_positive_or_neg | ||||
|                                     for filename5 in filenames5[::reverse_positive_or_negative]: | ||||
|                                         filename5_with_path = os.path.join(directory, filename1, filename2, filename3, filename4, filename5)  | ||||
|                                         if os.path.isfile(filename5_with_path):  | ||||
|                                             if os.path.splitext(filename5)[1] not in banned_type: | ||||
|                                                 if hide_file_type == None: | ||||
|                                                     f.write('+ '+str(filename5)+'\n') | ||||
|                                                 else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user