You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-02-09-Luna-Morrow-Final-Submission.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,39 +3,37 @@ layout: post
3
3
title: Luna Morrow GSoC 2024 Final Submission Blog
4
4
---
5
5
6
-
# Luna Morrow GSoC 2024 Final Submission Blog
7
-
8
6
I can’t believe I am at the end of [GSoC](https://summerofcode.withgoogle.com/)! This past 6 months has absolutely flown by, but I have learnt so much. I am really grateful for the amazing support I have had along the way from my mentors Hugo ( @hmacdope ), Cédric ( @cbouy ) and Xu ( @xhgchen ). My body of work can be located on the MDAnalysis GitHub at [mda-openbabel-converter](https://github.com/MDAnalysis/mda-openbabel-converter).
9
7
10
8
11
-
# Why a converter
9
+
##Why a converter
12
10
13
11
Direct interoperability between molecular dynamics software is critical for enabling collaboration, data transfer and straightforward use by scientists. [OpenBabel](https://openbabel.org/) is a popular toolbox for chemical molecular modelling research as it enables searching, conversions, analysis and data storage. The ability to interconvert chemical file formats with OpenBabel, in particular, opens up the ability to utilise and work with other packages, as OpenBabel enables input and writing of over 100 chemical data file formats. Therefore, enabling an MDAnalysis Universe to be inter-converted with an OpenBabel OBMol would greatly increase the data formats available to MDAnalysis. Furthermore, it would encourage greater adoption of MDAnalysis as an “all-in-one” package for molecular dynamics analysis.
14
12
15
13
16
-
# From OpenBabel to MDAnalysis
14
+
##From OpenBabel to MDAnalysis
17
15
18
16
The first aim of my GSoC project was to convert OpenBabel OBMols to MDAnalysis Universes. This required the extraction of both molecule and atom data, alongside their 3D positions. I hit many roadblocks in this section, with the two most difficult being the installation of OpenBabel 3.1.1.1 Python bindings and understanding some of the more complex OpenBabel API. Around half of the coding period was spent writing the two classes for converting the atom attributes and positions respectively. Time was also committed to developing tests for both classes.
19
17
20
18
First, I created the OpenBabelParser Class (converts the atom attributes) and some basic unit tests for it in [#12](https://github.com/MDAnalysis/mda-openbabel-converter/pull/12). Once this PR was opened, it revealed that the CI was not correctly setup. With additional help from Irfan ( @IAlibay ), this was corrected in [#13](https://github.com/MDAnalysis/mda-openbabel-converter/pull/13). Next, I made the OpenBabelReader Class (converts the atom positions) and a whole suite of tests for it in [#16](https://github.com/MDAnalysis/mda-openbabel-converter/pull/16), and then applied some of these ‘extended’ test conditions to the OpenBabelParser in [#18](https://github.com/MDAnalysis/mda-openbabel-converter/pull/18). During this time some issues were found with compatibility between, and accessing of, attributes from OpenBabel. I opened an issue on the OpenBabel GitHub to obtain assistance (see [here](https://github.com/openbabel/openbabel/issues/2708)) and also made a issue to flag an attribute that was proving difficult but will need to be supported later in [#17](https://github.com/MDAnalysis/mda-openbabel-converter/issues/17).
21
19
22
20
23
-
# Documentation
21
+
##Documentation
24
22
25
23
Once the OpenBabelParser and OpenBabelReader were developed, I setup ReadTheDocs [#19](https://github.com/MDAnalysis/mda-openbabel-converter/pull/19) and wrote documentation for these two classes [#20](https://github.com/MDAnalysis/mda-openbabel-converter/pull/20). The documentation is readily available on ReadTheDocs [here](https://mda-openbabel-converter.readthedocs.io/en/latest/). The documentation is functional but currently quite sparse, I have created an issue to improve the landing page and getting started page, once functionality is complete, at [#21](https://github.com/MDAnalysis/mda-openbabel-converter/issues/21).
26
24
27
25
28
-
# From MDAnalysis to OpenBabel
26
+
##From MDAnalysis to OpenBabel
29
27
30
28
The next stage of this this project was to implement the OpenBabelConverter Class to convert an MDAnalysis Universe to OpenBabel OBMol. Unfortunately, I have run out of time to implement this class during the allotted time for GSoC. There is an open issue detailing this class at [#22](https://github.com/MDAnalysis/mda-openbabel-converter/issues/22), which I will be expanding on shortly. While my time with GSoC has ended, I am keen to complete this project in my own time and continue on with MDAnalysis as a developer.
31
29
32
30
33
-
# Next Steps
31
+
##Next Steps
34
32
35
33
I will be finishing the OpenBabelConverter, including tests and documentation. The next steps will then be to add attributes that were left for later, further development of the documentation with worked examples and deploying a release of this package. I would also like to integrate this converter into the MDAnalysis package so that it can be used alongside the other converters, as this would increase its visibility and usage.
36
34
37
35
38
-
# What can we do now?
36
+
##What can we do now?
39
37
40
38
With what I currently implemented at the end of the GSoC coding period, users can very easily convert an OBMol to an MDAnalysis universe.
41
39
@@ -55,7 +53,7 @@ u = mda.Universe(mol)
55
53
56
54
```
57
55
58
-
# What I’ve Learned
56
+
##What I’ve Learned
59
57
60
58
Things I have learned during GSoC include:
61
59
* the importance of good documentation
@@ -66,6 +64,6 @@ Things I have learned during GSoC include:
66
64
* developing classes that inherit from classes that were not developed by me
67
65
68
66
69
-
# My experience
67
+
##My experience
70
68
71
-
I have had an amazing time during GSoC. I had a lot of support and felt very welcomed and encouraged. I can’t wait for this converter to be up and running, so that the community can benefit from it. I am also really grateful for the experience and technical growth GSoC granted me, as I know it will be incredibly beneficial for my future in this field.
69
+
I have had an amazing time during GSoC. I had a lot of support and felt very welcomed and encouraged. I can’t wait for this converter to be up and running, so that the community can benefit from it. I am also really grateful for the experience and technical growth GSoC granted me, as I know it will be incredibly beneficial for my future in this field.
Copy file name to clipboardExpand all lines: _posts/2025-02-11-gsoc2024-final-lg.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: Google Summer of Code (GSoC) 2024 Wrap-Up: Large Project
3
+
title: "Google Summer of Code (GSoC) 2024 Wrap-Up: Large Project"
4
4
---
5
5
<p>
6
6
<img
@@ -9,7 +9,7 @@ title="Google Summer of Code" alt="Google Summer of Code"
9
9
style="float: right; height: 8em; " />
10
10
</p>
11
11
12
-
As we enter the new year, we at MDAnalysis are still reflecting on and grateful for the work of our contributors in 2024. Namely, we would like to recognize the completion of [Luna Morrow's](@lunamorrow)[Google Summer of Code](https://summerofcode.withgoogle.com/) (GSoC) project with MDAnalysis, [Extend MDAnalysis Interoperability with OpenBabel](https://summerofcode.withgoogle.com/archive/2024/projects/yLzX6MjS) — read more about this incredibly useful enhancement of MDAnalysis's interoperability with other packages in the field in [Luna's blog post][blog-luna].
12
+
As we enter the new year, we at MDAnalysis are still reflecting on and grateful for the work of our contributors in 2024. Namely, we would like to recognize the completion of Luna Morrow's(@lunamorrow) [Google Summer of Code](https://summerofcode.withgoogle.com/) (GSoC) project with MDAnalysis, [Extend MDAnalysis Interoperability with OpenBabel](https://summerofcode.withgoogle.com/archive/2024/projects/yLzX6MjS) — read more about this incredibly useful enhancement of MDAnalysis's interoperability with other packages in the field in [Luna's blog post][blog-luna].
13
13
14
14
We have enjoyed watching Luna navigate the full cycle of planning, designing, implementing, testing, and documenting a software solution and look forward to seeing what she accomplishes next!
15
15
@@ -25,4 +25,7 @@ Please note that in addition to code contributions, we highly value [participati
25
25
26
26
— @cbouy@hmacdope@IAlibay@jennaswa@richardgowers@xhgchen@yuxuanzhuang (GSoC 2024 mentors and org admins)
0 commit comments